2010-03-09 16:07:02 +00:00
|
|
|
Index: sediff/result_item_render.c
|
|
|
|
===================================================================
|
|
|
|
--- sediff/result_item_render.c.orig
|
2009-08-11 15:57:05 +00:00
|
|
|
+++ 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"
|
2010-03-09 16:07:02 +00:00
|
|
|
@@ -139,7 +140,7 @@ void result_item_print_string_inline(Gtk
|
2009-08-11 15:57:05 +00:00
|
|
|
}
|
|
|
|
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";
|