forked from enlightenment/efl
parent
3a829a464f
commit
9398e011ff
|
@ -1533,6 +1533,11 @@ _edje_fetch(Evas_Object *obj)
|
||||||
int
|
int
|
||||||
_edje_glob_match(char *str, char *glob)
|
_edje_glob_match(char *str, char *glob)
|
||||||
{
|
{
|
||||||
|
if (glob[0] == 0)
|
||||||
|
{
|
||||||
|
if (str[0] == 0) return 1;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
if (!strcmp(glob, "*")) return 1;
|
if (!strcmp(glob, "*")) return 1;
|
||||||
if (!fnmatch(glob, str, 0)) return 1;
|
if (!fnmatch(glob, str, 0)) return 1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue