diff options
Diffstat (limited to 'src/emu/ui/viewgfx.cpp')
-rw-r--r-- | src/emu/ui/viewgfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/ui/viewgfx.cpp b/src/emu/ui/viewgfx.cpp index b334ed324d5..74d21da7585 100644 --- a/src/emu/ui/viewgfx.cpp +++ b/src/emu/ui/viewgfx.cpp @@ -389,7 +389,7 @@ static void palette_handler(running_machine &machine, render_container *containe // figure out the title and expand the outer box to fit const char *suffix = palette->indirect_entries() == 0 ? "" : state.palette.which ? " COLORS" : " PENS"; - sprintf(title, "'%s'%s", palette->tag().c_str(), suffix); + sprintf(title, "'%s'%s", palette->tag(), suffix); titlewidth = ui_font->string_width(chheight, machine.render().ui_aspect(), title); x0 = 0.0f; if (boxbounds.x1 - boxbounds.x0 < titlewidth + chwidth) @@ -649,7 +649,7 @@ static void gfxset_handler(running_machine &machine, render_container *container // figure out the title and expand the outer box to fit sprintf(title, "'%s' %d/%d %dx%d COLOR %X", - interface.device().tag().c_str(), + interface.device().tag(), set, info.setcount - 1, gfx.width(), gfx.height(), info.color[set]); |