From 0f3360b0ecc5a43ded9a0d754068413f5528376e Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 30 Sep 2000 17:03:27 +0000 Subject: [PATCH] (lw_separator_p): Init separator_p (bug with "-- some text"). --- lwlib/ChangeLog | 4 ++++ lwlib/lwlib.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2