fix a typo

parent fe40220f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment