fix a typo
This commit is contained in:
parent
fe40220fe9
commit
8e19b848fb
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ class TextWin(Win):
|
||||||
# messages = room.messages[-self.height:]
|
# messages = room.messages[-self.height:]
|
||||||
lines = self.build_lines_from_messages(room.messages)
|
lines = self.build_lines_from_messages(room.messages)
|
||||||
if room.pos != 0:
|
if room.pos != 0:
|
||||||
lines = messages[-self.height-room.pos:-room.pos]
|
lines = lines[-self.height-room.pos:-room.pos]
|
||||||
else:
|
else:
|
||||||
lines = lines[-self.height:]
|
lines = lines[-self.height:]
|
||||||
y = 0
|
y = 0
|
||||||
|
|
Loading…
Reference in a new issue