From 4b8558ed47a0633017fd44505e8f7aecf81cadec Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 4 Mar 2011 09:21:08 +0100 Subject: Reformat erase_window_part() in "utils.c". Signed-off-by: Lukas Fleischer --- src/utils.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/utils.c b/src/utils.c index f129416..28a7891 100644 --- a/src/utils.c +++ b/src/utils.c @@ -170,17 +170,14 @@ status_mesg (char *mesg_line1, char *mesg_line2) /* Erase part of a window. */ void erase_window_part (WINDOW *win, int first_col, int first_row, int last_col, - int last_row) + int last_row) { int c, r; for (r = first_row; r <= last_row; r++) - { - for (c = first_col; c <= last_col; c++) - { - mvwprintw (win, r, c, " "); - } - } + for (c = first_col; c <= last_col; c++) + mvwprintw (win, r, c, " "); + wnoutrefresh (win); } -- cgit v1.2.3-70-g09d2