diff options
Diffstat (limited to 'src/emu/info.c')
-rw-r--r-- | src/emu/info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/info.c b/src/emu/info.c index 9cb59d5c0cc..462b94ab652 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -1080,7 +1080,7 @@ void info_xml_creator::output_switches(const ioport_list &portlist, const char * std::string output; std::string newtag(port->tag()), oldtag(":"); - newtag = newtag.substr(newtag.find(oldtag.append(root_tag).c_str()) + oldtag.length()); + newtag = newtag.substr(newtag.find(oldtag.append(root_tag).c_str()) + oldtag.length()); // output the switch name information std::string normalized_field_name(xml_normalize_string(field->name())); |