diff options
author | Gerd Moellmann <gerd@gnu.org> | 2002-04-21 12:49:36 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2002-04-21 12:49:36 +0000 |
commit | c901ceff748dfe7ea78e66035191e47b1fd89ab5 (patch) | |
tree | 19d9a873eeb3a3d14dbfa1ee65128d6057c56a4a /lib-src | |
parent | 758bf24f7637662790cb7e60b98242a0d5d55485 (diff) | |
download | emacs-c901ceff748dfe7ea78e66035191e47b1fd89ab5.tar.gz |
(add_declarator): Test *CLS instead of CLS.
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 4 | ||||
-rw-r--r-- | lib-src/ebrowse.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <gerd@gnu.org> + + * ebrowse.c (add_declarator): Test *CLS instead of CLS. + 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> * 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); |