From: Bruno Haible Date: Thu, 14 Aug 2008 11:21:44 +0000 (+0000) Subject: For '%', set the type to FAT_NONE. X-Git-Tag: v0.18~383 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88a352053645a4eb51a42816068f5e3c6a21df63;p=thirdparty%2Fgettext.git For '%', set the type to FAT_NONE. --- diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index ff17df51b..448033f36 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,7 @@ +2008-08-14 Bruno Haible + + * format-python.c (format_parse): For '%', set the type to FAT_NONE. + 2008-08-14 Bruno Haible * format-python.c (format_check): Require the same number of unnamed diff --git a/gettext-tools/src/format-python.c b/gettext-tools/src/format-python.c index 3a15b7352..395b56263 100644 --- a/gettext-tools/src/format-python.c +++ b/gettext-tools/src/format-python.c @@ -238,7 +238,7 @@ format_parse (const char *format, bool translated, char *fdi, switch (*format) { case '%': - type = FAT_ANY; + type = FAT_NONE; break; case 'c': type = FAT_CHARACTER;