diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-04 09:21:08 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-03-04 09:21:08 +0100 |
commit | 4b8558ed47a0633017fd44505e8f7aecf81cadec (patch) | |
tree | 8caa685156c1751a6a6950049f30fb717e1070cc | |
parent | 65fb1ff8b183a748ab4a42a5e10d89c044fb91e1 (diff) | |
download | calcurse-4b8558ed47a0633017fd44505e8f7aecf81cadec.zip |
Reformat erase_window_part() in "utils.c".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/utils.c | 11 |
1 files changed, 4 insertions, 7 deletions
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); } |