From 8e19b848fb883e38b045eabb298d2d4a2dd7e5c7 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Wed, 14 Jul 2010 16:58:03 +0000 Subject: fix a typo --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3