diff options
author | Ken Hughes <khughes@pacific.edu> | 2006-04-03 00:19:30 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2006-04-03 00:19:30 +0400 |
commit | 15a78cb9c8b019250c0327f3802a000efed6c69b (patch) | |
tree | 7458ceb5c26ea7734a91c86ac5663332b3ad167d /source/blender/ftfont | |
parent | cf2f1956de48a3671cd8ce25a2e987af7ba933d5 (diff) |
Fix gcc warnings about NULL used in arithmetic comparison.
Diffstat (limited to 'source/blender/ftfont')
-rw-r--r-- | source/blender/ftfont/intern/FTF_TTFont.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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 |