1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -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.

[ From commit e01785e462 in ELinks
  0.12.GIT.  --KON ]
This commit is contained in:
Witold Filipczyk 2007-02-20 20:16:10 +01:00 committed by Kalle Olavi Niemitalo
parent 6bf41676b3
commit 7a56204271

View File

@ -1730,7 +1730,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: