Remove dead code in refresh_screen()

This commit is contained in:
Kevin Easton
2018-05-07 17:14:49 +10:00
parent 563ab3efeb
commit caaba512c2

View File

@@ -104,16 +104,14 @@ extern int need_redraw;
term_clear_screen(); term_clear_screen();
#endif #endif
#if 0
for (tmp = screen_list; tmp; tmp = tmp->next)
tmp->co = TI_cols, tmp->li = TI_lines;
#endif
if (term_resize()) if (term_resize())
recalculate_windows(current_window->screen); recalculate_windows(current_window->screen);
else else
redraw_all_windows(); redraw_all_windows();
if (need_redraw) if (need_redraw)
need_redraw = 0; need_redraw = 0;
update_all_windows(); update_all_windows();
update_input(UPDATE_ALL); update_input(UPDATE_ALL);
} }