diff options
author | marha <marha@users.sourceforge.net> | 2009-09-02 19:13:47 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-09-02 19:13:47 +0000 |
commit | e5072ee10b7ce789b67554e9000070c78f0f3d89 (patch) | |
tree | 88fe11cf5c58e52d3722158a1bf1fb7ac2a77e03 /libfontenc/src/fontenc.c | |
parent | e1580ae7d64a01efb2464cbbffb6d99cb5af1b8a (diff) | |
download | vcxsrv-e5072ee10b7ce789b67554e9000070c78f0f3d89.tar.gz vcxsrv-e5072ee10b7ce789b67554e9000070c78f0f3d89.tar.bz2 vcxsrv-e5072ee10b7ce789b67554e9000070c78f0f3d89.zip |
Switched to libfontenc-1.0.5.tar.gz
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; |