From c712e7511a6b450e6833aead65ef8b8c0bc70ff1 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Tue, 10 May 2016 23:17:19 -0700 Subject: 38468: wb,we values in gotword() needed assignment in additional case to avoid core dump Bug introduced by 38248. Also fix ChangeLog entry for 38248 to correctly reference Src/lex.c --- Src/lex.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Src/lex.c') diff --git a/Src/lex.c b/Src/lex.c index 25b372a3c..e36a01ec8 100644 --- a/Src/lex.c +++ b/Src/lex.c @@ -1795,6 +1795,10 @@ gotword(void) if (zlemetacs >= nwb) { wb = nwb; we = nwe; + } else { + wb = zlemetacs + addedx; + if (we < wb) + we = wb; } lexflags = 0; } -- cgit 1.4.1