aboutsummaryrefslogtreecommitdiff
path: root/src/ui/members.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/members.c')
-rw-r--r--src/ui/members.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/members.c b/src/ui/members.c
index 710c0d6..509e03b 100644
--- a/src/ui/members.c
+++ b/src/ui/members.c
@@ -86,7 +86,7 @@ members_event(UI_MEMBERS_Handle *members,
86 if (!(members->window)) 86 if (!(members->window))
87 return; 87 return;
88 88
89 const int height = getmaxy(members->window) - getbegy(members->window); 89 const int height = getmaxy(members->window);
90 const int y = members->line_selected - members->line_offset; 90 const int y = members->line_selected - members->line_offset;
91 91
92 if (y < 0) 92 if (y < 0)
@@ -112,7 +112,7 @@ _members_iterate_print(UI_MEMBERS_Handle *members,
112 if (y < 0) 112 if (y < 0)
113 return; 113 return;
114 114
115 const int height = getmaxy(members->window) - getbegy(members->window); 115 const int height = getmaxy(members->window);
116 116
117 if (y >= height) 117 if (y >= height)
118 return; 118 return;