diff options
Diffstat (limited to 'polyp/util.c')
-rw-r--r-- | polyp/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/util.c b/polyp/util.c index 86f18f25..e4dcd1c9 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -396,7 +396,7 @@ char *pa_split_spaces(const char *c, const char **state) { const char *current = *state ? *state : c; size_t l; - if (*current) + if (!*current) return NULL; current += strspn(current, WHITESPACE); |