mirror of
https://github.com/holub/mame
synced 2025-06-28 23:24:23 +03:00
UI:fixed a problem with game list when using MS Sans Serif font.
This commit is contained in:
parent
a467a8c057
commit
9e261a0ca8
@ -332,7 +332,7 @@ void text_layout::truncate_wrap()
|
||||
float elipsis_width = get_char_width(elipsis, style.size);
|
||||
|
||||
// where should we really truncate from?
|
||||
while (truncate_position > 0 && m_current_line->character(truncate_position).xoffset + elipsis_width < width())
|
||||
while (truncate_position > 0 && m_current_line->character(truncate_position).xoffset + elipsis_width > width())
|
||||
truncate_position--;
|
||||
|
||||
// truncate!!!
|
||||
|
Loading…
Reference in New Issue
Block a user