]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Small bugfix.
authorBruno Haible <bruno@clisp.org>
Thu, 20 Sep 2001 15:41:57 +0000 (15:41 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 20 Sep 2001 15:41:57 +0000 (15:41 +0000)
src/ChangeLog
src/x-java.l

index b02aee2ea573f9a94c32f54355b3bbf906f5da91..5b027fab3f28a643f48ec0396ff70d6ebf160962 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-19  Tommy Johansson  <tommy.johansson@kanalen.org>
+
+       * x-java.l (is_keyword): Swap arguments of do_compare.
+
 2001-09-02  Bruno Haible  <haible@clisp.cons.org>
 
        * write-java.h: New file.
index 76d5c9f5279195d2a47d0ff03afa49ed26d8be8a..6c0603dbd8a6c81e07a68557d58857213a29d4ed 100644 (file)
@@ -299,7 +299,7 @@ is_keyword (s)
   int i;
 
   for (i = 0; i < java_keywords->nitems; i++)
-    if (do_compare (java_keywords->item[i], s))
+    if (do_compare (s, java_keywords->item[i]))
       return true;
   return false;
 }