forked from enlightenment/enlightenment
parent
d765e4452c
commit
204de3261d
|
@ -130,6 +130,8 @@ e_util_app_installed(char *app)
|
||||||
EAPI int
|
EAPI int
|
||||||
e_util_glob_match(const char *str, const char *glob)
|
e_util_glob_match(const char *str, const char *glob)
|
||||||
{
|
{
|
||||||
|
if (!str || !glob)
|
||||||
|
return 0;
|
||||||
if (glob[0] == 0)
|
if (glob[0] == 0)
|
||||||
{
|
{
|
||||||
if (str[0] == 0) return 1;
|
if (str[0] == 0) return 1;
|
||||||
|
|
Loading…
Reference in New Issue