about summary refs log tree commit diff stats
path: root/src/ui/windows.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-10-07 21:12:19 +0100
committerJames Booth <boothj5@gmail.com>2014-10-07 21:12:19 +0100
commitb8ba9b038c668dd7576fcf1855cfa3f404924ca3 (patch)
treed19d2509f7dcd152521ac6107d59a5d5b788dd48 /src/ui/windows.c
parent639796384a4736e5dd0e433f1c62d0f042d7fd1f (diff)
downloadprofani-tty-b8ba9b038c668dd7576fcf1855cfa3f404924ca3.tar.gz
Added scroll support to occupant list
Diffstat (limited to 'src/ui/windows.c')
-rw-r--r--src/ui/windows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/windows.c b/src/ui/windows.c
index 3f636fdb..220b84f8 100644
--- a/src/ui/windows.c
+++ b/src/ui/windows.c
@@ -307,7 +307,7 @@ wins_resize_all(void)
     ProfWin *current_win = wins_get_current();
     if (current_win->type == WIN_MUC) {
         pnoutrefresh(current_win->win, current_win->y_pos, 0, 1, 0, rows-3, ((cols/OCCUPANT_WIN_SIZE) * (OCCUPANT_WIN_SIZE-1)) -1);
-        pnoutrefresh(current_win->subwin, 0, 0, 1, (cols/OCCUPANT_WIN_SIZE) * (OCCUPANT_WIN_SIZE-1), rows-3, cols-1);
+        pnoutrefresh(current_win->subwin, current_win->sub_y_pos, 0, 1, (cols/OCCUPANT_WIN_SIZE) * (OCCUPANT_WIN_SIZE-1), rows-3, cols-1);
     } else {
         pnoutrefresh(current_win->win, current_win->y_pos, 0, 1, 0, rows-3, cols-1);
     }