summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows.py b/src/windows.py
index cc9c09cd..f10b1421 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -909,7 +909,7 @@ class TextWin(Win):
offset += 1
if get_theme().CHAR_TIME_RIGHT and message.str_time:
offset += 1
- lines = cut_text(txt, self.width-offset)
+ lines = cut_text(self.width-offset, txt)
prepend = ''
attrs = []
for line in lines: