summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uimain.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-04-05 08:07:38 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-04-05 08:07:38 +0000
commitf51d7a177da1884e51e8dc3ddafcbaf7e3ed6dd8 (patch)
tree09b65ed2c997ad2adeca35b2891ad368359db3b3 /src/emu/uimain.c
parent194397db29bbf4b5bbf1f22c8fb5a16c39fffa06 (diff)
Small fix to make GCC 4.6 to compile (no whatsnew)
Diffstat (limited to 'src/emu/uimain.c')
-rw-r--r--src/emu/uimain.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/emu/uimain.c b/src/emu/uimain.c
index 29b394fc2ea..ee9be7c26fb 100644
--- a/src/emu/uimain.c
+++ b/src/emu/uimain.c
@@ -2708,7 +2708,6 @@ void ui_menu_select_game::custom_render(void *selectedref, float top, float bott
{
const char *s = emulator_info::get_copyright();
line = 0;
- int col = 0;
/* first line is version string */
tempbuf[line++].printf("%s %s", emulator_info::get_applongname(), build_version);
@@ -2716,9 +2715,7 @@ void ui_menu_select_game::custom_render(void *selectedref, float top, float bott
/* output message */
while (line < ARRAY_LENGTH(tempbuf))
{
- if (*s == 0 || *s == '\n')
- col = 0;
- else
+ if (!(*s == 0 || *s == '\n'))
tempbuf[line].cat(*s);
if (*s != 0)