summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2017-09-11 15:41:12 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-10-09 08:06:45 +0100
commit88ae8a68a2033c1a865ed5706b0151425dc98e60 (patch)
tree22ab2da6b9ee458b38565e30313a2402d732f06c
parent3b5ea1a961cccf0a45d5df39a904df73931325a4 (diff)
downloadpoezio-88ae8a68a2033c1a865ed5706b0151425dc98e60.tar.gz
poezio-88ae8a68a2033c1a865ed5706b0151425dc98e60.tar.bz2
poezio-88ae8a68a2033c1a865ed5706b0151425dc98e60.tar.xz
poezio-88ae8a68a2033c1a865ed5706b0151425dc98e60.zip
Properly use ellipsis in #3293
-rw-r--r--poezio/windows/info_wins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/info_wins.py b/poezio/windows/info_wins.py
index 89832c9c..1afb34b0 100644
--- a/poezio/windows/info_wins.py
+++ b/poezio/windows/info_wins.py
@@ -170,7 +170,7 @@ class ConversationInfoWin(InfoWin):
self.addstr('[', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
self.addstr(presence, to_curses_attr(color))
if resource and resource.status:
- shortened = resource.status[:20] + (resource.status[:20] and '..')
+ shortened = resource.status[:20] + (resource.status[:20] and '…')
self.addstr(' %s' % shortened, to_curses_attr(get_theme().COLOR_INFORMATION_BAR))
self.addstr(']', to_curses_attr(get_theme().COLOR_INFORMATION_BAR))