fix a typo

This commit is contained in:
louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 2010-07-14 16:58:03 +00:00
parent fe40220fe9
commit 8e19b848fb

View file

@ -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