Mercurial > emacs
changeset 10102:339e129f8874
(argmatch): Handle lstr == 0.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 03 Dec 1994 14:59:40 +0000 |
parents | c0afdaf34c6f |
children | efb97e6ec979 |
files | src/emacs.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Fri Dec 02 02:08:31 1994 +0000 +++ b/src/emacs.c Sat Dec 03 14:59:40 1994 +0000 @@ -375,7 +375,7 @@ } arglen = (valptr != NULL && (p = index (arg, '=')) != NULL ? p - arg : strlen (arg)); - if (arglen < minlen || strncmp (arg, lstr, arglen) != 0) + if (lstr == 0 || arglen < minlen || strncmp (arg, lstr, arglen) != 0) return 0; else if (valptr == NULL) {