diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-05-26 22:12:18 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-05-26 22:12:18 +0000 |
commit | 44bbb3e05bb92f03ef5cfb4c6a55a4c79bb799fc (patch) | |
tree | 780179622b9afb3f728768f12164a4ee8f967a12 /src/xrdb.c | |
parent | 9d04a87aad56d7baeee6173a040b43981956cf49 (diff) | |
download | emacs-44bbb3e05bb92f03ef5cfb4c6a55a4c79bb799fc.tar.gz |
(magic_searchpath_decoder): Fix typos.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r-- | src/xrdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index cf7a06f8041..fdce4e44a88 100644 --- a/src/xrdb.c +++ b/src/xrdb.c @@ -204,12 +204,12 @@ magic_searchpath_decoder (incantation_string, file, return_path) string = (char *) alloca (string_size * sizeof (*string)); } bcopy (s, string, len); - string[len + 1] = '\0'; + string[len] = '\0'; if (decode_magic (string, file, return_path)) return 1; } - if (p) + if (p && *p != 0) s = p + 1; else return 0; |