1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

The fix for the bug 927.

When tables were rendered first time html_format_part was called with
document==NULL. <meta http-equiv=Refresh.../> was inside a table,
so document was NULL. Second time the table knew its dimensions
and document was not NULL.
This commit is contained in:
Witold Filipczyk 2007-02-20 20:16:10 +01:00 committed by Kalle Olavi Niemitalo
parent 2bf5372a29
commit e01785e462

View File

@ -1970,7 +1970,8 @@ html_special(struct html_context *html_context, enum html_special_type c, ...)
unsigned long seconds = va_arg(l, unsigned long);
unsigned char *t = va_arg(l, unsigned char *);
document->refresh = init_document_refresh(t, seconds);
if (document)
document->refresh = init_document_refresh(t, seconds);
break;
}
case SP_COLOR_LINK_LINES: