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:
parent
c28042f680
commit
4118a4dfc5
@ -708,21 +708,16 @@ doc_rerender_after_document_update(struct session *ses) {
|
||||
** This is toggled */
|
||||
|
||||
assert(ses && ses->doc_view && ses->tab && ses->tab->term);
|
||||
if_assert_failed
|
||||
{
|
||||
int dummy=1;
|
||||
} else {
|
||||
if (ses->doc_view->document->ecmascript_counter>0)
|
||||
{
|
||||
if (ses->doc_view->vs)
|
||||
{
|
||||
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
|
||||
draw_formatted(ses, 1);
|
||||
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
|
||||
draw_formatted(ses, 1);
|
||||
//DBG("REDRAWING...");
|
||||
}
|
||||
|
||||
if_assert_failed {
|
||||
return;
|
||||
}
|
||||
if (ses->doc_view->document->ecmascript_counter > 0) {
|
||||
if (ses->doc_view->vs) {
|
||||
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
|
||||
draw_formatted(ses, 1);
|
||||
ses->doc_view->vs->plain = !ses->doc_view->vs->plain;
|
||||
draw_formatted(ses, 1);
|
||||
//DBG("REDRAWING...");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user