Commit 0c819952 0c81995234b9467192aae61b7c4a71792c24e9ee by Sergey Poznyakoff

Bugfix

1 parent fc4b1c93
......@@ -58,8 +58,10 @@ display_message (message_t mesg, msgset_t *msgset, void *arg)
size_t lines = 0;
struct decode_closure *closure = arg;
int pagelines = util_get_crt ();
attribute_t attr = NULL;
if (util_isdeleted (mesg))
message_get_attribute (mesg, &attr);
if (attribute_is_deleted (attr))
return 1;
message_lines (mesg, &lines);
......
......@@ -231,7 +231,7 @@ mu_charset_lookup (char *lang, char *terr)
for (p = langtab; p->lang; p++)
if (strcasecmp (p->lang, lang) == 0
&& (terr == NULL
|| !p->terr == NULL
|| p->terr == NULL
|| !strcasecmp (p->terr, terr) == 0))
return p->charset;
return NULL;
......