summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-04-17 15:18:17 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-04-17 15:18:17 +0200
commitd1a797205af8e3a016b3301592d27b17d79bdd48 (patch)
tree53ceffb3c689ff1ce6ab8168c97cbdbab05aadad /src
parentb4d1eda1e0b95ae75a870d288c7678274844540f (diff)
downloadpoezio-d1a797205af8e3a016b3301592d27b17d79bdd48.tar.gz
poezio-d1a797205af8e3a016b3301592d27b17d79bdd48.tar.bz2
poezio-d1a797205af8e3a016b3301592d27b17d79bdd48.tar.xz
poezio-d1a797205af8e3a016b3301592d27b17d79bdd48.zip
Fix the infinite loop…
Diffstat (limited to 'src')
-rw-r--r--src/windows.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/windows.py b/src/windows.py
index 57872993..25aaeb06 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:
@@ -1472,7 +1472,6 @@ class ContactInfoWin(Win):
self.addstr(0, 0, '%s (%s)'%(jid, presence,), common.curses_color_pair(theme.COLOR_INFORMATION_BAR))
self.finish_line(theme.COLOR_INFORMATION_BAR)
self.addstr(1, 0, 'Subscription: %s' % (contact.get_subscription(),))
- self.finish_line()
if contact.get_ask():
if contact.get_ask() == 'asked':
self.addstr(' Ask: %s' % (contact.get_ask(),), common.curses_color_pair(theme.COLOR_HIGHLIGHT_NICK))