mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -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:
parent
2a8bff982b
commit
088db2c3de
@ -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 long seconds = va_arg(l, unsigned long);
|
||||||
unsigned char *t = va_arg(l, unsigned char *);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
case SP_COLOR_LINK_LINES:
|
case SP_COLOR_LINK_LINES:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user