1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[ecmascript] One line shorter code

This commit is contained in:
Witold Filipczyk 2021-09-21 19:04:25 +02:00
parent 7feb5f4140
commit c008cddb83

View File

@ -146,11 +146,10 @@ toggle_ecmascript(struct session *ses)
if (ecmascript_enabled) {
mem_free_set(&ses->status.window_status, stracpy(_("Ecmascript enabled", ses->tab->term)));
print_screen_status(ses);
} else {
mem_free_set(&ses->status.window_status, stracpy(_("Ecmascript disabled", ses->tab->term)));
print_screen_status(ses);
}
print_screen_status(ses);
}
int