diff options
| author | Stefan Monnier | 2000-09-30 17:03:27 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-09-30 17:03:27 +0000 |
| commit | 0f3360b0ecc5a43ded9a0d754068413f5528376e (patch) | |
| tree | 7e523506e93ea0fbf0bba0183f40d31b28c65215 | |
| parent | b1904cd946ddef2e94e93946c2bc10bcd3b0cb71 (diff) | |
| download | emacs-0f3360b0ecc5a43ded9a0d754068413f5528376e.tar.gz emacs-0f3360b0ecc5a43ded9a0d754068413f5528376e.zip | |
(lw_separator_p): Init separator_p (bug with "-- some text").
| -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 @@ | |||
| 1 | 2000-09-30 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * lwlib.c (lw_separator_p): Init separator_p (bug with "-- some text"). | ||
| 4 | |||
| 1 | 2000-09-28 Sam Steingold <sds@gnu.org> | 5 | 2000-09-28 Sam Steingold <sds@gnu.org> |
| 2 | 6 | ||
| 3 | * xlwmenu.c: Before including <X11/Xos.h> on SUN, define SUNOS41 | 7 | * 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) | |||
| 1485 | enum menu_separator *type; | 1485 | enum menu_separator *type; |
| 1486 | int motif_p; | 1486 | int motif_p; |
| 1487 | { | 1487 | { |
| 1488 | int separator_p; | 1488 | int separator_p = 0; |
| 1489 | 1489 | ||
| 1490 | if (strlen (label) >= 3 | 1490 | if (strlen (label) >= 3 |
| 1491 | && bcmp (label, "--:", 3) == 0) | 1491 | && bcmp (label, "--:", 3) == 0) |