Mercurial > hg > xemacs-beta
diff src/abbrev.c @ 359:8e84bee8ddd0 r21-1-9
Import from CVS: tag r21-1-9
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:57:55 +0200 |
parents | 7df0dd720c89 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/abbrev.c Mon Aug 13 10:57:07 2007 +0200 +++ b/src/abbrev.c Mon Aug 13 10:57:55 2007 +0200 @@ -222,10 +222,11 @@ because of consistency with abbrev_match. */ if (wordend < point) return 0; - if (wordend <= wordstart) - return 0; } + if (wordend <= wordstart) + return 0; + p = word = (Bufbyte *) alloca (MAX_EMCHAR_LEN * (wordend - wordstart)); for (idx = wordstart; idx < wordend; idx++) {