From: Bruno Haible Date: Mon, 26 Nov 2001 12:33:26 +0000 (+0000) Subject: Fix the plural form handling. X-Git-Tag: v0.11~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d0229f2b6f2eeeb06ee473552bcc75f88efa81;p=thirdparty%2Fgettext.git Fix the plural form handling. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8f72f0fd3..4468f6c32 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-11-24 Bruno Haible + + * msgexec.c (process_message): Really process each plural form once. + 2001-11-17 Bruno Haible * msgfmt.c (is_nonobsolete): New function. diff --git a/src/msgexec.c b/src/msgexec.c index 4d50336fb..b73c1ef98 100644 --- a/src/msgexec.c +++ b/src/msgexec.c @@ -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. */