mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Added case insensitive check for softlist item descriptions (no whatsnew)
This commit is contained in:
parent
bdaaa1063d
commit
5a8df86305
@ -1851,10 +1851,9 @@ void validate_softlists(emu_options &options)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* check for duplicate descriptions */
|
/* check for duplicate descriptions */
|
||||||
if (descriptions.add(swinfo->longname, swinfo, FALSE) == TMERR_DUPLICATE)
|
if (descriptions.add(astring(swinfo->longname).tolower().cstr(), swinfo, FALSE) == TMERR_DUPLICATE)
|
||||||
{
|
{
|
||||||
software_info *match = names.find(swinfo->shortname);
|
mame_printf_error("%s: %s is a duplicate description (%s)\n", list->file->filename(), swinfo->longname, swinfo->shortname);
|
||||||
mame_printf_error("%s: %s is a duplicate description (%s)\n", list->file->filename(), swinfo->longname, match->longname);
|
|
||||||
error = TRUE;
|
error = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user