summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/windows.py b/src/windows.py
index 5b673c21..d2ff0a91 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -560,15 +560,11 @@ class TextWin(Win):
offset = 1 + len(message.str_time)
if nick:
offset += wcwidth.wcswidth(nick) + 2 # + nick + spaces length
- if nick:
- offset += wcwidth.wcswidth(nick) + 2 # + nick + spaces length
if theme.CHAR_TIME_LEFT:
offset += 1
if theme.CHAR_TIME_RIGHT:
offset += 1
-
lines = cut_text(txt, self.width-offset-1)
-
first = True
for line in lines:
self.built_lines.append(Line(msg=message,