summaryrefslogtreecommitdiff
path: root/lwlib
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-09-30 17:03:27 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-09-30 17:03:27 +0000
commit0f3360b0ecc5a43ded9a0d754068413f5528376e (patch)
tree7e523506e93ea0fbf0bba0183f40d31b28c65215 /lwlib
parentb1904cd946ddef2e94e93946c2bc10bcd3b0cb71 (diff)
downloademacs-0f3360b0ecc5a43ded9a0d754068413f5528376e.tar.gz
(lw_separator_p): Init separator_p (bug with "-- some text").
Diffstat (limited to 'lwlib')
-rw-r--r--lwlib/ChangeLog4
-rw-r--r--lwlib/lwlib.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog
index 53e30d14f81..d0a909c241f 100644
--- a/lwlib/ChangeLog
+++ b/lwlib/ChangeLog
@@ -1,3 +1,7 @@
+2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text").
+
2000-09-28 Sam Steingold <sds@gnu.org>
* xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index eb0804a480e..81ab8d5d2c7 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -1485,7 +1485,7 @@ lw_separator_p (label, type, motif_p)
enum menu_separator *type;
int motif_p;
{
- int separator_p;
+ int separator_p = 0;
if (strlen (label) >= 3
&& bcmp (label, "--:", 3) == 0)