]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix msgstr-suffix handling.
authorBruno Haible <bruno@clisp.org>
Tue, 11 Sep 2001 13:34:45 +0000 (13:34 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 11 Sep 2001 13:34:45 +0000 (13:34 +0000)
src/ChangeLog
src/xgettext.c

index 5c8fc7036b37aca9f571d7faf29c9aa70a0eaa36..e0febc3205f8229f66c84f8f228ceb02fe480775 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-11  Bruno Haible  <haible@clisp.cons.org>
+
+       * xgettext.c: Set msgstr_prefix to "", not NULL.
+       Reported by Martin Quinson <Martin.Quinson@ens-lyon.fr>.
+
 2001-09-10  Bruno Haible  <haible@clisp.cons.org>
 
        * msgattrib.c (main): Call set_program_name instead of assigning
index f627202baa626f400dc146deaed82437a39acb1c..628e021a5964bb45a87f284eb9c40c57d373285c 100644 (file)
@@ -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)