summaryrefslogtreecommitdiff
path: root/editors/mlview/files/patch-src-mlview-tree-editor2.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/mlview/files/patch-src-mlview-tree-editor2.c')
-rw-r--r--editors/mlview/files/patch-src-mlview-tree-editor2.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/mlview/files/patch-src-mlview-tree-editor2.c b/editors/mlview/files/patch-src-mlview-tree-editor2.c
new file mode 100644
index 000000000000..ccc1f2a30b23
--- /dev/null
+++ b/editors/mlview/files/patch-src-mlview-tree-editor2.c
@@ -0,0 +1,15 @@
+--- src/mlview-tree-editor2.c.orig Thu Nov 20 09:11:34 2003
++++ src/mlview-tree-editor2.c Sat Dec 6 20:48:30 2003
+@@ -760,9 +760,11 @@
+ guchar *result = NULL,
+ *content = NULL;
+
++ const gchar *colour_str;
++
+ g_return_val_if_fail (a_node != NULL, NULL);
+
+- const gchar *colour_str = mlview_tree_editor2_get_colour_string (a_node->type);
++ colour_str = mlview_tree_editor2_get_colour_string (a_node->type);
+
+ if (a_node->type == XML_ELEMENT_NODE) {
+ guchar *ns_prefix = NULL,