diff options
Diffstat (limited to 'src/osd/modules/debugger/debugint.c')
| -rw-r--r-- | src/osd/modules/debugger/debugint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/debugger/debugint.c b/src/osd/modules/debugger/debugint.c index 690dd1bd03e..41620def623 100644 --- a/src/osd/modules/debugger/debugint.c +++ b/src/osd/modules/debugger/debugint.c @@ -1115,7 +1115,7 @@ static void render_editor(DView_edit *editor) editor->container->manager().machine().ui().draw_text_full(editor->container, editor->str.c_str(), 0.0f, 0.0f, 1.0f, JUSTIFY_CENTER, WRAP_TRUNCATE, DRAW_NONE, ARGB_WHITE, ARGB_BLACK, &width, NULL); width += 2 * UI_BOX_LR_BORDER; - maxwidth = MAX(width, 0.5); + maxwidth = MAX(width, 0.5f); /* compute our bounds */ x1 = 0.5f - 0.5f * maxwidth; |
