aboutsummaryrefslogtreecommitdiffstats
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
authorGerd Moellmann <[email protected]>1999-09-14 15:30:15 +0000
committerGerd Moellmann <[email protected]>1999-09-14 15:30:15 +0000
commit46d74a69434029005ff9972fbbcaa9724fbf2376 (patch)
treeaeb5b1bb99d20087ae29b56d11b95c7cf1af96df /lwlib/lwlib.c
parent94b342cea5e49654451a91eef2468890f2b864ed (diff)
(lw_separator_p): Check for new-style separators
differently.
Diffstat (limited to 'lwlib/lwlib.c')
-rw-r--r--lwlib/lwlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c
index 9939a5dcc9..f2e564137f 100644
--- a/lwlib/lwlib.c
+++ b/lwlib/lwlib.c
@@ -1454,7 +1454,8 @@ lw_separator_p (label, type, motif_p)
}
}
else if (strlen (label) > 3
- && bcmp (label, "--", 2) == 0)
+ && bcmp (label, "--", 2) == 0
+ && label[2] != '-')
{
/* Alternative, more Emacs-style names. */
static struct separator_table