diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-14 16:58:03 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-07-14 16:58:03 +0000 |
commit | 8e19b848fb883e38b045eabb298d2d4a2dd7e5c7 (patch) | |
tree | 8ad7e63e4d5de3d7707b9fdfab2b51954cd70e42 | |
parent | fe40220fe9cdda10545a65148f86c22d65e881a8 (diff) | |
download | poezio-8e19b848fb883e38b045eabb298d2d4a2dd7e5c7.tar.gz poezio-8e19b848fb883e38b045eabb298d2d4a2dd7e5c7.tar.bz2 poezio-8e19b848fb883e38b045eabb298d2d4a2dd7e5c7.tar.xz poezio-8e19b848fb883e38b045eabb298d2d4a2dd7e5c7.zip |
fix a typo
-rw-r--r-- | src/window.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.py b/src/window.py index cf4d540e..980f8d51 100644 --- a/src/window.py +++ b/src/window.py @@ -265,7 +265,7 @@ class TextWin(Win): # messages = room.messages[-self.height:] lines = self.build_lines_from_messages(room.messages) if room.pos != 0: - lines = messages[-self.height-room.pos:-room.pos] + lines = lines[-self.height-room.pos:-room.pos] else: lines = lines[-self.height:] y = 0 |