From: Stefan Monnier Date: Sat, 30 Sep 2000 17:03:27 +0000 (+0000) Subject: (lw_separator_p): Init separator_p (bug with "-- some text"). X-Git-Tag: emacs-pretest-21.0.90~1248 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0f3360b0ecc5a43ded9a0d754068413f5528376e;p=emacs.git (lw_separator_p): Init separator_p (bug with "-- some text"). --- 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 + + * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text"). + 2000-09-28 Sam Steingold * xlwmenu.c: Before including 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)