From: Bruno Haible Date: Tue, 11 Sep 2001 13:34:45 +0000 (+0000) Subject: Fix msgstr-suffix handling. X-Git-Tag: v0.11~506 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=012ca779b7d27b005a3e9008f481f935cb293e69;p=thirdparty%2Fgettext.git Fix msgstr-suffix handling. --- diff --git a/src/ChangeLog b/src/ChangeLog index 5c8fc7036..e0febc320 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-09-11 Bruno Haible + + * xgettext.c: Set msgstr_prefix to "", not NULL. + Reported by Martin Quinson . + 2001-09-10 Bruno Haible * msgattrib.c (main): Call set_program_name instead of assigning diff --git a/src/xgettext.c b/src/xgettext.c index f627202ba..628e021a5 100644 --- a/src/xgettext.c +++ b/src/xgettext.c @@ -397,7 +397,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\ if (msgstr_prefix != NULL && msgstr_suffix == NULL) msgstr_suffix = ""; else if (msgstr_prefix == NULL && msgstr_suffix != NULL) - msgstr_prefix = NULL; + msgstr_prefix = ""; /* Default output directory is the current directory. */ if (output_dir == NULL)