From 15a78cb9c8b019250c0327f3802a000efed6c69b Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Sun, 2 Apr 2006 20:19:30 +0000 Subject: Fix gcc warnings about NULL used in arithmetic comparison. --- source/blender/ftfont/intern/FTF_TTFont.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/ftfont') diff --git a/source/blender/ftfont/intern/FTF_TTFont.cpp b/source/blender/ftfont/intern/FTF_TTFont.cpp index 627cd6f270b..e6bfb33e339 100644 --- a/source/blender/ftfont/intern/FTF_TTFont.cpp +++ b/source/blender/ftfont/intern/FTF_TTFont.cpp @@ -115,25 +115,25 @@ FTF_TTFont::FTF_TTFont(void) strcpy(messagepath, ".blender/locale"); - if (BLI_exist(messagepath) == NULL) { // locale not in current dir + if ( !BLI_exist(messagepath) ) { // locale not in current dir BLI_make_file_string("/", messagepath, BLI_gethome(), ".blender/locale"); - if(BLI_exist(messagepath) == NULL) { // locale not in home dir + if( !BLI_exist(messagepath) ) { // locale not in home dir #ifdef WIN32 BLI_make_file_string("/", messagepath, BLI_gethome(), "/locale"); - if(BLI_exist(messagepath) == NULL) { + if( !BLI_exist(messagepath) ) { #endif #ifdef __APPLE__ /* message catalogs are stored inside the application bundle */ bundlepath = BLI_getbundle(); strcpy(messagepath, bundlepath); strcat(messagepath, "/Contents/Resources/locale"); - if(BLI_exist(messagepath) == NULL) { // locale not in bundle (now that's odd..) + if( !BLI_exist(messagepath) ) { // locale not in bundle (now that's odd..) #endif strcpy(messagepath, LOCALEDIR); - if(BLI_exist(messagepath) == NULL) { // locale not in LOCALEDIR + if( !BLI_exist(messagepath) ) { // locale not in LOCALEDIR strcpy(messagepath, "message"); // old compatibility as last } #ifdef WIN32 -- cgit v1.2.3