diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-03 17:22:10 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-10-03 17:24:35 +0300 |
commit | 9c09998530041744a183dfae3da435806272623b (patch) | |
tree | 9a6b45fd48adc2ac8ad47c1035ec228354e3c6c5 /source/blender/draw/intern/draw_view.c | |
parent | fb60fb055d680a037a7808aeb3304c34ff0c06f7 (diff) |
UI strings: Fix asserts in 'middle-splitting' fitting string code.
The problem is that string width computing is performed in integers
(pixels), which can generate a rather annoying error (a few pixels)...
Simply work around that for now, by trimming an extra middle char when
needed.
Diffstat (limited to 'source/blender/draw/intern/draw_view.c')
0 files changed, 0 insertions, 0 deletions