HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d04a87
)
(magic_searchpath_decoder): Fix typos.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 26 May 1993 22:12:18 +0000
(22:12 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 26 May 1993 22:12:18 +0000
(22:12 +0000)
src/xrdb.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xrdb.c
b/src/xrdb.c
index
cf7a06f
..
fdce4e4
100644
(file)
--- 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;