Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/emu/ui/ui.c b/src/emu/ui/ui.c
- index c3041a7..0eee040 100644
- --- a/src/emu/ui/ui.c
- +++ b/src/emu/ui/ui.c
- @@ -694,6 +694,9 @@ void ui_manager::draw_text_full(render_container *container, const char *origs,
- break;
- curwidth -= get_font()->char_width(lineheight, aspect, schar);
- + // if back to 0, there is no space to draw even a single char
- + if (curwidth <= 0)
- + break;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement