Skip to content

Commit 8578c6d

Browse files
author
Daigo Matsubara
committed
markup fix
1 parent 24177a7 commit 8578c6d

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/print.c

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,8 @@ void fprint_menu0(FILE *fp, struct emailinfo *email, int pos)
264264
char *tmpptr=i18n_convstring(email->subject,"UTF-8",email->charset,&tmplen);
265265
#endif
266266

267-
if (!(set_show_msg_links && set_show_msg_links != loc_cmp)
268-
|| (set_show_index_links && set_show_index_links != loc_cmp))
269-
{
270-
fprintf(fp, "<ul class=\"links\">\n");
271-
}
272-
267+
/* well... always put this element here.. */
268+
fprintf(fp, "<ul class=\"links\">\n");
273269

274270
if (set_mailcommand && set_hmail) {
275271
fprintf(fp, "<li><a name=\"%s\" id=\"%s\"></a><dfn>%s</dfn>:",
@@ -329,10 +325,8 @@ void fprint_menu0(FILE *fp, struct emailinfo *email, int pos)
329325
if (set_custom_archives && *set_custom_archives)
330326
fprintf(fp, "<li><dfn>%s</dfn>: %s</li>\n", lang[MSG_OTHER_MAIL_ARCHIVES], set_custom_archives);
331327

332-
if (!(set_show_msg_links && set_show_msg_links != loc_cmp)
333-
|| (set_show_index_links && set_show_index_links != loc_cmp)){
334-
fprintf (fp,"</ul>\n");
335-
}
328+
fprintf (fp,"</ul>\n");
329+
336330
#ifdef HAVE_ICONV
337331
if(tmpptr)
338332
free(tmpptr);

0 commit comments

Comments
 (0)