]> git.eshelyaron.com Git - emacs.git/commitdiff
(skip_chars): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Thu, 24 Apr 2003 23:25:09 +0000 (23:25 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 24 Apr 2003 23:25:09 +0000 (23:25 +0000)
src/ChangeLog
src/syntax.c

index 2ed1cf6fd4cb12e0aa324e425c4aa914a46edb24..77b6334f0d4a51d7e48a236ac8659a73f675952c 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-25  Kenichi Handa  <handa@m17n.org>
+
+       * syntax.c (skip_chars): Fix previous change.
+
 2003-04-24  Kenichi Handa  <handa@m17n.org>
 
        * syntax.c (skip_chars): Make the code faster by using the common
index dbdac11694d529bd3ba800a7ae6aae4b96a45ed9..d25c4394c6efdcfbeef49f1e1a9679a68a8e7de7 100644 (file)
@@ -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--;
                }