diff options
-rw-r--r-- | src/abbrev.c | 2 |
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.") p = buffer = (char *) alloca (wordend - wordstart); - for (idx = wordstart; idx < point; idx++) + for (idx = wordstart; idx < wordend; idx++) { register int c = FETCH_CHAR (idx); if (UPPERCASEP (c)) |