forked from enlightenment/enlightenment
Don't use strlen to check for empty string
SVN revision: 23042
This commit is contained in:
parent
59a12c9d5d
commit
6d775e62d2
|
@ -747,7 +747,7 @@ _e_exebuf_matches_update(void)
|
||||||
int i, max;
|
int i, max;
|
||||||
|
|
||||||
_e_exebuf_matches_clear();
|
_e_exebuf_matches_clear();
|
||||||
if (strlen(cmd_buf) == 0) return;
|
if (!cmd_buf[0]) return;
|
||||||
|
|
||||||
snprintf(buf, sizeof(buf), "*%s*", cmd_buf);
|
snprintf(buf, sizeof(buf), "*%s*", cmd_buf);
|
||||||
list = e_app_name_glob_list(buf);
|
list = e_app_name_glob_list(buf);
|
||||||
|
|
Loading…
Reference in New Issue