From 97dbb9484f6c88379bd0892a02e17023f86d9800 Mon Sep 17 00:00:00 2001 From: Oliver Stöneberg Date: Fri, 27 Jul 2012 15:37:39 +0000 Subject: removed unnecessary strlen() usage (no whatsnew) --- src/emu/uimain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/uimain.c') 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 */ -- cgit v1.2.3-70-g09d2