APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1316618494 -3600
# Node ID 925c8766699ec26f0af5d587dabba40a6fcbed83
# Parent a3b6a94e9867aa1587f359bf180cbe1e72a8f3d7
Correct a variable name and fix the compile, menubar-gtk.c.
src/ChangeLog.GTK addition:
2011-09-21 Aidan Kehoe <kehoea(a)parhasard.net>
* menubar-gtk.c (remove_underscores):
Oops, got a variable name wrong here; correct it, fix the compile.
diff -r a3b6a94e9867 -r 925c8766699e src/ChangeLog.GTK
--- a/src/ChangeLog.GTK Tue Sep 20 21:30:33 2011 +0100
+++ b/src/ChangeLog.GTK Wed Sep 21 16:21:34 2011 +0100
@@ -1,3 +1,8 @@
+2011-09-21 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * menubar-gtk.c (remove_underscores):
+ Oops, got a variable name wrong here; correct it, fix the compile.
+
2011-09-20 Aidan Kehoe <kehoea(a)parhasard.net>
* console-gtk.c (gtk_perhaps_init_unseen_key_defaults):
diff -r a3b6a94e9867 -r 925c8766699e src/menubar-gtk.c
--- a/src/menubar-gtk.c Tue Sep 20 21:30:33 2011 +0100
+++ b/src/menubar-gtk.c Wed Sep 21 16:21:34 2011 +0100
@@ -303,7 +303,7 @@
rval[j++] = name[i];
}
- if (j < temp_label_len)
+ if (j < dest_len)
{
rval[j] = '\0';
}
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches