summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bin/edje/edje_cc_parse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_parse.c b/src/bin/edje/edje_cc_parse.c
index 9c4e6bcc08..5f405dfc7f 100644
--- a/src/bin/edje/edje_cc_parse.c
+++ b/src/bin/edje/edje_cc_parse.c
@@ -1843,10 +1843,14 @@ int
1843get_param_index(char *str) 1843get_param_index(char *str)
1844{ 1844{
1845 int index; 1845 int index;
1846 char *p;
1846 1847
1847 for(index = 0; index < get_arg_count(); index++) 1848 for(index = 0; index < get_arg_count(); index++)
1848 { 1849 {
1849 if(!strcmp(str,_parse_param_get(index))) 1850 p = _parse_param_get(index);
1851 if (!p) continue;
1852
1853 if (!strcmp(str, p))
1850 return index; 1854 return index;
1851 } 1855 }
1852 1856