diff options
Diffstat (limited to 'fitz/base_string.c')
-rw-r--r-- | fitz/base_string.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/base_string.c b/fitz/base_string.c index 4b1553ad..30d544d5 100644 --- a/fitz/base_string.c +++ b/fitz/base_string.c @@ -11,8 +11,8 @@ char * fz_strsep(char **stringp, const char *delim) { char *ret = *stringp; - if (ret == NULL) return NULL; - if ((*stringp = strpbrk(*stringp, delim)) != NULL) + if (ret == nil) return nil; + if ((*stringp = strpbrk(*stringp, delim)) != nil) *((*stringp)++) = '\0'; return ret; } |