Refactor wins_refresh_current

This commit is contained in:
James Booth
2013-10-06 23:25:01 +01:00
parent c6c0a94bb0
commit e2161d8acc

View File

@@ -207,9 +207,7 @@ void
wins_refresh_current(void) wins_refresh_current(void)
{ {
ProfWin *window = wins_get_current(); ProfWin *window = wins_get_current();
int rows, cols; win_refresh(window);
getmaxyx(stdscr, rows, cols);
prefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1);
} }
void void