]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix the plural form handling.
authorBruno Haible <bruno@clisp.org>
Mon, 26 Nov 2001 12:33:26 +0000 (12:33 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 21:24:24 +0000 (23:24 +0200)
src/ChangeLog
src/msgexec.c

index 8f72f0fd3b32378608666deb6ab9680394a4aca0..4468f6c32ee10d5ab1bcc5ef8c913b618ea6cd4f 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-24  Bruno Haible  <bruno@clisp.org>
+
+       * msgexec.c (process_message): Really process each plural form once.
+
 2001-11-17  Bruno Haible  <haible@clisp.cons.org>
 
        * msgfmt.c (is_nonobsolete): New function.
index 4d50336fbd0891cba41836af1575fc82715723da..b73c1ef988841f2dccde9aafcb80927a4d59d06c 100644 (file)
@@ -696,6 +696,8 @@ process_message (mp)
       result[length] = '\0';
       substrings[k] = result;
       total_len += length + 1;
+
+      p += strlen (p) + 1;
     }
 
   /* Concatenate the results, including the NUL after each.  */