mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05: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:
parent
2bf5372a29
commit
e01785e462
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user