summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/uimain.c
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2012-07-27 15:37:39 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2012-07-27 15:37:39 +0000
commit97dbb9484f6c88379bd0892a02e17023f86d9800 (patch)
treec03d5971ad8f7dcd35785cf02107311e13d3f07e /src/emu/uimain.c
parentb401946faeee0c3503a467e57d0bc51b06eec6f2 (diff)
removed unnecessary strlen() usage (no whatsnew)
Diffstat (limited to 'src/emu/uimain.c')
-rw-r--r--src/emu/uimain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/uimain.c b/src/emu/uimain.c
index bb46fa777aa..b6ce828c5b7 100644
--- a/src/emu/uimain.c
+++ b/src/emu/uimain.c
@@ -2383,7 +2383,7 @@ void ui_menu_crosshair::populate()
int found = false;
/* if we are using the default, then we just need to find the first in the list */
- if (strlen(settings.name) == 0)
+ if (*(settings.name) == 0)
using_default = true;
/* look for the current name, then remember the name before */