From e5072ee10b7ce789b67554e9000070c78f0f3d89 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 2 Sep 2009 19:13:47 +0000 Subject: Switched to libfontenc-1.0.5.tar.gz --- libfontenc/src/fontenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libfontenc/src/fontenc.c') 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; -- cgit v1.2.3