f0c00e6242
Copy from security:SELinux/setools based on submit request 14277 from user prusnak OBS-URL: https://build.opensuse.org/request/show/14277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/setools?expand=0&rev=1
20 lines
564 B
Diff
20 lines
564 B
Diff
--- sediff/result_item_render.c
|
|
+++ sediff/result_item_render.c
|
|
@@ -27,6 +27,7 @@
|
|
#include "result_item_render.h"
|
|
|
|
#include <assert.h>
|
|
+#include <string.h>
|
|
|
|
static const char *form_name_map[] = {
|
|
"Added", "Added New Type", "Removed", "Removed Missing Type", "Modified"
|
|
@@ -139,7 +140,7 @@
|
|
}
|
|
case ' ':
|
|
{
|
|
- if (current_tag != "modified") {
|
|
+ if ( strcmp( current_tag, "modified") != 0 ) {
|
|
gtk_text_buffer_insert_with_tags_by_name(tb, iter, s + start, end - start + 1, current_tag, NULL);
|
|
start = end + 1;
|
|
current_tag = "modified";
|