summaryrefslogtreecommitdiffstats
path: root/x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch')
-rw-r--r--x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch b/x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch
new file mode 100644
index 0000000..5fa0e0b
--- /dev/null
+++ b/x11-libs/gtk+/files/gtk+-1.2.10-cvs-labelvariable.patch
@@ -0,0 +1,11 @@
+--- gtk+-1.2.10/gtk/gtklabel.c.labelvariable Mon Apr 2 05:12:38 2001
++++ gtk+-1.2.10/gtk/gtklabel.c Wed Feb 13 17:57:15 2002
+@@ -1004,7 +1004,7 @@
+ *r = 0;
+
+ result_str = gdk_wcstombs (string_wc);
+- if (string)
++ if (result_str)
+ {
+ gtk_label_set_text_internal (label, result_str, string_wc);
+ gtk_label_set_pattern (label, pattern);