diff options
Diffstat (limited to 'libfontenc/src/fontenc.c')
-rw-r--r-- | libfontenc/src/fontenc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libfontenc/src/fontenc.c b/libfontenc/src/fontenc.c index 955e48155..923e35ea2 100644 --- a/libfontenc/src/fontenc.c +++ b/libfontenc/src/fontenc.c @@ -630,8 +630,8 @@ FontEncFromXLFD(const char *name, int length) } /* now p either is null or points at the '-' before the charset registry */ - - if(p == 0) + + if(p == NULL) return NULL; len = length - (p - name) - 1; |