Fix the color of the first line for offline messages

This commit is contained in:
mathieui 2014-11-15 19:18:50 +01:00
parent a400bfc1e9
commit 0eb5c241f0
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -244,7 +244,7 @@ class TextWin(Win):
if get_theme().CHAR_TIME_RIGHT and message.str_time:
offset += 1
lines = poopt.cut_text(txt, self.width-offset-1)
prepend = ''
prepend = default_color if default_color else ''
attrs = []
for line in lines:
saved = Line(msg=message, start_pos=line[0], end_pos=line[1], prepend=prepend)