From e2161d8acc07e822d473a83a26d0c1077568e1f5 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 6 Oct 2013 23:25:01 +0100 Subject: [PATCH] Refactor wins_refresh_current --- src/ui/windows.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ui/windows.c b/src/ui/windows.c index 87b61ab1..88c811e5 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -207,9 +207,7 @@ void wins_refresh_current(void) { ProfWin *window = wins_get_current(); - int rows, cols; - getmaxyx(stdscr, rows, cols); - prefresh(window->win, window->y_pos, 0, 1, 0, rows-3, cols-1); + win_refresh(window); } void