From 857e600df7a8099508f942169532f32190ab57e7 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Mon, 23 Aug 2010 15:48:40 +0000 Subject: [PATCH] fixing listxml year output (it was skipped if the year contains a '?') [Fabio Priuli] --- src/emu/info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/info.c b/src/emu/info.c index 81bf77d1527..2aa9d7cc107 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -1041,7 +1041,7 @@ static void print_game_info(FILE *out, const game_driver *game) fprintf(out, "\t\t%s\n", xml_normalize_string(game->description)); /* print the year only if is a number */ - if (game->year != NULL && strspn(game->year, "0123456789") == strlen(game->year)) + if (game->year != NULL && strspn(game->year, "0123456789?+") == strlen(game->year)) fprintf(out, "\t\t%s\n", xml_normalize_string(game->year)); /* print the manufacturer information */