diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2016-06-26 23:59:43 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2016-06-26 23:59:43 +1000 |
commit | 9e261a0ca80182ec483c656a8add6edc3b790f9c (patch) | |
tree | e9863d4ede9534a911316c2a7bbb5c1f7b78e422 | |
parent | a467a8c05710c1254726cd32776e514f692fa529 (diff) |
UI:fixed a problem with game list when using MS Sans Serif font.
-rw-r--r-- | src/frontend/mame/ui/text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/text.cpp b/src/frontend/mame/ui/text.cpp index 7fecd640260..fbd9e8de5d2 100644 --- a/src/frontend/mame/ui/text.cpp +++ b/src/frontend/mame/ui/text.cpp @@ -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!!! |