diff options
author | 2016-01-20 21:42:13 +0100 | |
---|---|---|
committer | 2016-01-20 21:42:13 +0100 | |
commit | 4e8e3066f847cc0fa11539f4d9ab8a63f70ca475 (patch) | |
tree | 25d48b50f2b89dd5b9e7dbbfeeb85c534ec6852a /src/emu/ui/viewgfx.cpp | |
parent | 3a8ccb89b426509be06089a19c51ecf55567ed1b (diff) |
reverting:
SHA-1: 1f90ceab075c4869298e963bf0a14a0aac2f1caa
* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
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]); |