aboutsummaryrefslogtreecommitdiffstats
path: root/lwlib/lwlib.c
diff options
context:
space:
mode:
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