From: Bruno Haible Date: Wed, 25 Jul 2001 16:27:45 +0000 (+0000) Subject: Fix fuzziness handling in msgcomm. X-Git-Tag: v0.11~595 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ce84cdb45af3274bb8cab4f934134ff5476c4ca;p=thirdparty%2Fgettext.git Fix fuzziness handling in msgcomm. --- diff --git a/src/ChangeLog b/src/ChangeLog index 120b65502..89dbd49f5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-07-21 Bruno Haible + + * msgcomm.c (extract_directive_message): Don't make the message fuzzy + if the first occurrence wasn't fuzzy. + 2001-07-21 Bruno Haible * message.c (message_comment_filepos): Don't keep the filepos[] array diff --git a/src/msgcomm.c b/src/msgcomm.c index 1164551dd..fa5843b06 100644 --- a/src/msgcomm.c +++ b/src/msgcomm.c @@ -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)