changeset 32040:02773dbde247

(lw_separator_p): Init separator_p (bug with "-- some text").
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 30 Sep 2000 17:03:27 +0000
parents 8c8661e981c5
children a055173cadf8
files lwlib/ChangeLog lwlib/lwlib.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/ChangeLog	Sat Sep 30 17:00:32 2000 +0000
+++ b/lwlib/ChangeLog	Sat Sep 30 17:03:27 2000 +0000
@@ -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
--- a/lwlib/lwlib.c	Sat Sep 30 17:00:32 2000 +0000
+++ b/lwlib/lwlib.c	Sat Sep 30 17:03:27 2000 +0000
@@ -1485,7 +1485,7 @@
      enum menu_separator *type;
      int motif_p;
 {
-  int separator_p;
+  int separator_p = 0;
 
   if (strlen (label) >= 3
       && bcmp (label, "--:", 3) == 0)