mirror of
https://github.com/vivier/EMILE.git
synced 2025-02-25 08:28:59 +00:00
clear property if not found
This commit is contained in:
parent
dd9b4869c5
commit
f215102d83
@ -36,8 +36,10 @@ int config_find_indexed_property(int8_t *configuration, char *index_name, char *
|
||||
{
|
||||
if (name == NULL)
|
||||
return last_index;
|
||||
return -1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (property)
|
||||
property[0] = 0; /* clear property */
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user