From: Gerd Moellmann Date: Sun, 21 Apr 2002 12:49:36 +0000 (+0000) Subject: (add_declarator): Test *CLS instead of CLS. X-Git-Tag: ttn-vms-21-2-B4~15505 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c901ceff748dfe7ea78e66035191e47b1fd89ab5;p=emacs.git (add_declarator): Test *CLS instead of CLS. --- diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 9bdf8a4fd49..863f53ce747 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2002-04-21 Gerd Moellmann + + * ebrowse.c (add_declarator): Test *CLS instead of CLS. + 2002-04-16 Eli Zaretskii * update-game-score.c: Move config.h before the other headers, to diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c index 81dbf73455a..f49d3cdafda 100644 --- a/lib-src/ebrowse.c +++ b/lib-src/ebrowse.c @@ -3250,7 +3250,7 @@ add_declarator (cls, id, flags, sc) 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);