]> git.eshelyaron.com Git - emacs.git/commitdiff
(lw_separator_p): Check for new-style separators
authorGerd Moellmann <gerd@gnu.org>
Tue, 14 Sep 1999 15:30:15 +0000 (15:30 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 14 Sep 1999 15:30:15 +0000 (15:30 +0000)
differently.

lwlib/lwlib.c

index 9939a5dcc96e8e57343f64d951b8321eee1eabfc..f2e564137fed1cb8cc9c6c500bdbf4816906d2fd 100644 (file)
@@ -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