push whitespace eating down the stack a bit.

This commit is contained in:
Enno Rehling 2017-09-25 22:12:49 +02:00
parent 778f487afa
commit 9a1295b4a5
1 changed files with 1 additions and 1 deletions

View File

@ -321,6 +321,7 @@ static order *create_order_i(keyword_t kwd, const char *sptr, bool persistent,
ord->_noerror = noerror; ord->_noerror = noerror;
ord->next = NULL; ord->next = NULL;
while (isspace(*(unsigned char *)sptr)) ++sptr;
ord->data = create_data(kwd, sptr, lindex); ord->data = create_data(kwd, sptr, lindex);
return ord; return ord;
@ -410,7 +411,6 @@ order *parse_order(const char *s, const struct locale * lang)
} }
} }
if (kwd != NOKEYWORD) { if (kwd != NOKEYWORD) {
while (isspace(*(unsigned char *)sptr)) ++sptr;
return create_order_i(kwd, sptr, persistent, noerror, lang); return create_order_i(kwd, sptr, persistent, noerror, lang);
} }
} }