about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/window.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 269affbd..36a5b70b 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -632,10 +632,6 @@ win_page_up(ProfWin* window)
     int page_space = rows - 4;
     int* page_start = &(window->layout->y_pos);
 
-    // dont need to scroll
-    if (*page_start == 0)
-        return;
-
     *page_start -= page_space;
 
     if (*page_start == -page_space && window->type == WIN_CHAT) {