diff options
Diffstat (limited to 'alot')
-rw-r--r-- | alot/widgets.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/widgets.py b/alot/widgets.py index 74b30e32..0145bb33 100644 --- a/alot/widgets.py +++ b/alot/widgets.py @@ -155,13 +155,13 @@ class ThreadlineWidget(urwid.AttrMap): elif name == 'subject': if self.thread: - subjectstring = self.thread.get_subject() or '' + subjectstring = self.thread.get_subject() or ' ' else: - subjectstring = '' + subjectstring = ' ' # sanitize subject string: subjectstring = subjectstring.replace('\n', ' ') subjectstring = subjectstring.replace('\r', '') - subjectstring = pad(subjectstring.strip()) + subjectstring = pad(subjectstring) subject_w = AttrFlipWidget(urwid.Text(subjectstring, wrap='clip'), struct['subject']) |