(lw_separator_p): Init separator_p (bug with "-- some text").

This commit is contained in:
Stefan Monnier 2000-09-30 17:03:27 +00:00
parent b1904cd946
commit 0f3360b0ec
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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)