From: Kenichi Handa Date: Thu, 24 Apr 2003 23:25:09 +0000 (+0000) Subject: (skip_chars): Fix previous change. X-Git-Tag: ttn-vms-21-2-B4~10424 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e837cd04fa391e3a06b2f0705fbc1622fc889c8;p=emacs.git (skip_chars): Fix previous change. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2ed1cf6fd4c..77b6334f0d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-04-25 Kenichi Handa + + * syntax.c (skip_chars): Fix previous change. + 2003-04-24 Kenichi Handa * syntax.c (skip_chars): Make the code faster by using the common diff --git a/src/syntax.c b/src/syntax.c index dbdac11694d..d25c4394c6e 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1656,7 +1656,7 @@ skip_chars (forwardp, syntaxp, string, lim) p = GAP_END_ADDR; stop = endp; } - if (fastmap[*p]) + if (!fastmap[*p]) break; p++, pos++; } @@ -1709,7 +1709,7 @@ skip_chars (forwardp, syntaxp, string, lim) p = GPT_ADDR; stop = endp; } - if (fastmap[p[-1]]) + if (!fastmap[p[-1]]) break; p--, pos--; }