}
if (*f++ != '%')
return f_INVALID;
- if (*f == ' ' || *f == '+' || *f == '-' || *f == '#')
+ while (*f == ' ' || *f == '+' || *f == '-' || *f == '#' || *f == '0')
f++;
while (*f && isdigit(*f))
f++;
for (unsigned int i = 0; i < bindings.size(); i++) {
unsigned int j = 0;
- SGPropertyNode *binding;
+ SGPropertyNode_ptr binding;
while (dest->getChild("binding", j))
j++;