diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-28 11:45:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-28 11:45:39 +0300 |
commit | d5a8c0c4144ac70d97aec77669178fc51da02c4c (patch) | |
tree | 1255b4919f98568f984c4d50da82cb489f37ffd7 /source | |
parent | 597122d72b691ac6522b5ee2acd26e2b4b1135a5 (diff) |
UI: use two dot ellipses
Use less space for sign used when we don't have enough.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_widgets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c index b740b410c1a..92c7f13f140 100644 --- a/source/blender/editors/interface/interface_widgets.c +++ b/source/blender/editors/interface/interface_widgets.c @@ -1033,8 +1033,8 @@ float UI_text_clip_middle_ex( strwidth = BLF_width(fstyle->uifont_id, str, max_len); if ((okwidth > 0.0f) && (strwidth > okwidth)) { - /* utf8 ellipsis '...', some compilers complain */ - const char sep[] = {0xe2, 0x80, 0xa6, 0x0}; + /* utf8 ellipsis '..', some compilers complain */ + const char sep[] = {0xe2, 0x80, 0xA5, 0x0}; const int sep_len = sizeof(sep) - 1; const float sep_strwidth = BLF_width(fstyle->uifont_id, sep, sep_len + 1); float parts_strwidth; |