]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix fuzziness handling in msgcomm.
authorBruno Haible <bruno@clisp.org>
Wed, 25 Jul 2001 16:27:45 +0000 (16:27 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 25 Jul 2001 16:27:45 +0000 (16:27 +0000)
src/ChangeLog
src/msgcomm.c

index 120b655022d128c7401fb5b1301d97219be23f6b..89dbd49f54f1abe7592368b77f8dc84807976230 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-21  Bruno Haible  <haible@clisp.cons.org>
+
+       * msgcomm.c (extract_directive_message): Don't make the message fuzzy
+       if the first occurrence wasn't fuzzy.
+
 2001-07-21  Bruno Haible  <haible@clisp.cons.org>
 
        * message.c (message_comment_filepos): Don't keep the filepos[] array
index 1164551dd4c4131b591dfe2cb0429b3a9349c389..fa5843b063564291c5edb51907e311395b455765 100644 (file)
@@ -562,6 +562,7 @@ extract_directive_message (that, msgid, msgid_pos, msgid_plural,
     {
       mp = message_alloc (msgid, msgid_plural, msgstr, msgstr_len, msgstr_pos);
       message_list_append (this->mlp, mp);
+      mp->is_fuzzy = this->is_fuzzy;
     }
 
   /* The ``obsolete'' flag is cleared before reading each PO file.
@@ -591,7 +592,6 @@ extract_directive_message (that, msgid, msgid_pos, msgid_plural,
       string_list_free (this->comment_dot);
       this->comment_dot = NULL;
     }
-  mp->is_fuzzy |= this->is_fuzzy;
   if (mp->is_c_format == undecided)
     mp->is_c_format = this->is_c_format;
   if (mp->do_wrap == undecided)