mirror of
https://github.com/holub/mame
synced 2025-05-12 00:58:53 +03:00
Small fix to make GCC 4.6 to compile (no whatsnew)
This commit is contained in:
parent
194397db29
commit
f51d7a177d
@ -2708,7 +2708,6 @@ void ui_menu_select_game::custom_render(void *selectedref, float top, float bott
|
|||||||
{
|
{
|
||||||
const char *s = emulator_info::get_copyright();
|
const char *s = emulator_info::get_copyright();
|
||||||
line = 0;
|
line = 0;
|
||||||
int col = 0;
|
|
||||||
|
|
||||||
/* first line is version string */
|
/* first line is version string */
|
||||||
tempbuf[line++].printf("%s %s", emulator_info::get_applongname(), build_version);
|
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 */
|
/* output message */
|
||||||
while (line < ARRAY_LENGTH(tempbuf))
|
while (line < ARRAY_LENGTH(tempbuf))
|
||||||
{
|
{
|
||||||
if (*s == 0 || *s == '\n')
|
if (!(*s == 0 || *s == '\n'))
|
||||||
col = 0;
|
|
||||||
else
|
|
||||||
tempbuf[line].cat(*s);
|
tempbuf[line].cat(*s);
|
||||||
|
|
||||||
if (*s != 0)
|
if (*s != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user