diff options
-rw-r--r-- | lwlib/ChangeLog | 4 | ||||
-rw-r--r-- | lwlib/lwlib.c | 2 |
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) |