1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -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,21 +708,16 @@ 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) {
{ ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
if (ses->doc_view->vs) 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...");
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
draw_formatted(ses, 1);
//DBG("REDRAWING...");
}
} }
} }
} }