1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05:00

[session] Removed dummy=1

This commit is contained in:
Witold Filipczyk 2022-02-10 19:43:29 +01:00
parent c28042f680
commit 4118a4dfc5

View File

@ -708,22 +708,17 @@ doc_rerender_after_document_update(struct session *ses) {
** This is toggled */ ** This is toggled */
assert(ses && ses->doc_view && ses->tab && ses->tab->term); assert(ses && ses->doc_view && ses->tab && ses->tab->term);
if_assert_failed if_assert_failed {
{ return;
int dummy=1; }
} else { if (ses->doc_view->document->ecmascript_counter > 0) {
if (ses->doc_view->document->ecmascript_counter>0) if (ses->doc_view->vs) {
{
if (ses->doc_view->vs)
{
ses->doc_view->vs->plain = !ses->doc_view->vs->plain; ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
draw_formatted(ses, 1); draw_formatted(ses, 1);
ses->doc_view->vs->plain = !ses->doc_view->vs->plain; ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
draw_formatted(ses, 1); draw_formatted(ses, 1);
//DBG("REDRAWING..."); //DBG("REDRAWING...");
} }
}
} }
} }
#endif #endif