projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c118b5
)
(scmp): Use unsigned chars, to avoid confusing DOWNCASE.
author
Karl Heuer
<kwzh@gnu.org>
Thu, 29 Sep 1994 19:37:26 +0000
(19:37 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Thu, 29 Sep 1994 19:37:26 +0000
(19:37 +0000)
src/minibuf.c
patch
|
blob
|
history
diff --git
a/src/minibuf.c
b/src/minibuf.c
index 4d64c33f2cbcb50d34ce6abd7d1207d0d9af9011..10f95d6d56bb4e81480c4fcd9c4417cc1fbc2182 100644
(file)
--- a/
src/minibuf.c
+++ b/
src/minibuf.c
@@
-774,8
+774,9
@@
The argument given to PREDICATE is the alist element or the symbol from the obar
Return -1 if strings match,
else number of chars that match at the beginning. */
+int
scmp (s1, s2, len)
- register char *s1, *s2;
+ register
unsigned
char *s1, *s2;
int len;
{
register int l = len;
@@
-792,7
+793,8
@@
scmp (s1, s2, len)
}
if (l == 0)
return -1;
- else return len - l;
+ else
+ return len - l;
}
\f
DEFUN ("all-completions", Fall_completions, Sall_completions, 2, 3, 0,