aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/abbrev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abbrev.c b/src/abbrev.c
index f56054bda51..c9ea673e696 100644
--- a/src/abbrev.c
+++ b/src/abbrev.c
@@ -257,7 +257,7 @@ Returns t if expansion took place.")
257 257
258 p = buffer = (char *) alloca (wordend - wordstart); 258 p = buffer = (char *) alloca (wordend - wordstart);
259 259
260 for (idx = wordstart; idx < point; idx++) 260 for (idx = wordstart; idx < wordend; idx++)
261 { 261 {
262 register int c = FETCH_CHAR (idx); 262 register int c = FETCH_CHAR (idx);
263 if (UPPERCASEP (c)) 263 if (UPPERCASEP (c))