diff options
author | 2012-07-27 15:37:39 +0000 | |
---|---|---|
committer | 2012-07-27 15:37:39 +0000 | |
commit | 97dbb9484f6c88379bd0892a02e17023f86d9800 (patch) | |
tree | c03d5971ad8f7dcd35785cf02107311e13d3f07e /src/emu/crsshair.c | |
parent | b401946faeee0c3503a467e57d0bc51b06eec6f2 (diff) |
removed unnecessary strlen() usage (no whatsnew)
Diffstat (limited to 'src/emu/crsshair.c')
-rw-r--r-- | src/emu/crsshair.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/crsshair.c b/src/emu/crsshair.c index cd4a86d427b..8a546656f28 100644 --- a/src/emu/crsshair.c +++ b/src/emu/crsshair.c @@ -507,7 +507,7 @@ static void crosshair_save(running_machine &machine, int config_type, xml_data_n } /* the default graphic name is "", so only save if not */ - if (strlen(global.name[player]) > 0) + if (*(global.name[player]) != 0) { xml_set_attribute(crosshairnode, "pic", global.name[player]); changed = TRUE; |