summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-03-04 09:21:08 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2011-03-04 09:21:08 +0100
commit4b8558ed47a0633017fd44505e8f7aecf81cadec (patch)
tree8caa685156c1751a6a6950049f30fb717e1070cc /src/utils.c
parent65fb1ff8b183a748ab4a42a5e10d89c044fb91e1 (diff)
downloadcalcurse-4b8558ed47a0633017fd44505e8f7aecf81cadec.zip
Reformat erase_window_part() in "utils.c".
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c11
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);
}