+2009-01-25 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2005-10-01.
+ * msgl-charset.c (compare_po_locale_charsets): Fix recognition of
+ header entry.
+
2009-01-25 Bruno Haible <bruno@clisp.org>
Fix bug introduced on 2008-10-04.
/* Message list charset and locale charset handling.
- Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2005-2007, 2009 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software: you can redistribute it and/or modify
const message_list_ty *mlp = mdlp->item[k]->messages;
for (j = 0; j < mlp->nitems; j++)
- if (mlp->item[j]->msgstr == NULL
- && mlp->item[j]->msgid[0] == '\0' && !mlp->item[j]->obsolete)
+ if (is_header (mlp->item[j]) && !mlp->item[j]->obsolete)
{
const char *header = mlp->item[j]->msgstr;