diff lib-src/ebrowse.c @ 44719:dfc7601deedf

(add_declarator): Test *CLS instead of CLS.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 21 Apr 2002 12:49:14 +0000
parents 2bc6f0ac1394
children 9ce753124d1b
line wrap: on
line diff
--- a/lib-src/ebrowse.c	Sat Apr 20 23:14:02 2002 +0000
+++ b/lib-src/ebrowse.c	Sun Apr 21 12:49:14 2002 +0000
@@ -3250,7 +3250,7 @@
           char *regexp = matching_regexp ();
           int pos = BUFFER_POS ();
 
-          if (cls)
+          if (*cls)
 	    add_member_defn (*cls, *id, regexp, pos, 0, 1, SC_UNKNOWN, flags);
           else
             add_global_defn (*id, regexp, pos, 0, 1, sc, flags);