Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r--source/blender/blenfont/intern/blf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index 9ec9dd1caa0..7b78bd05fff 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -307,7 +307,7 @@ void BLF_enable(int fontid, int option)
const char* BLF_gettext(const char *msgid)
{
#ifdef INTERNATIONAL
- if( msgid!=NULL && strlen(msgid)>0 )
+ if( msgid[0] )
return gettext( msgid );
return "";
#else