From 46d74a69434029005ff9972fbbcaa9724fbf2376 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 14 Sep 1999 15:30:15 +0000 Subject: [PATCH] (lw_separator_p): Check for new-style separators differently. --- lwlib/lwlib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lwlib/lwlib.c b/lwlib/lwlib.c index 9939a5dcc96..f2e564137fe 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 -- 2.39.5