Reformat erase_window_part() in "utils.c".

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-03-04 09:21:08 +01:00
parent 65fb1ff8b1
commit 4b8558ed47

View File

@ -170,17 +170,14 @@ status_mesg (char *mesg_line1, char *mesg_line2)
/* Erase part of a window. */ /* Erase part of a window. */
void void
erase_window_part (WINDOW *win, int first_col, int first_row, int last_col, erase_window_part (WINDOW *win, int first_col, int first_row, int last_col,
int last_row) int last_row)
{ {
int c, r; int c, r;
for (r = first_row; r <= last_row; r++) for (r = first_row; r <= last_row; r++)
{ for (c = first_col; c <= last_col; c++)
for (c = first_col; c <= last_col; c++) mvwprintw (win, r, c, " ");
{
mvwprintw (win, r, c, " ");
}
}
wnoutrefresh (win); wnoutrefresh (win);
} }