summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index 25aaeb06..f68162ae 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -1340,7 +1340,7 @@ class RosterWin(Win):
if y-self.start_pos+1 == self.height:
break
line = ' '*self.width
- while y <= self.height:
+ while y < self.height:
self.addstr(y, 0, line)
y += 1
if self.start_pos > 1: