diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-14 20:05:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-14 20:05:44 +0400 |
commit | 49ccf975f25c11d217e6db462986998991383291 (patch) | |
tree | 2d6119e1c59bf6cb11ab530d1e2ddcaa8ec88819 /source/blender/blenfont/intern | |
parent | 5b5f776eae79811b7c807b4a7eabfc7727d764cf (diff) |
minor cleanup
- use NULL rather then 0 for pointers
- use static functions where possible
- add own includes to ensure func's and their declarations don't get out of sync.
Diffstat (limited to 'source/blender/blenfont/intern')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 2 | ||||
-rw-r--r-- | source/blender/blenfont/intern/blf_translation.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 3bce3878d72..e8c6ff76934 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -34,6 +34,8 @@ #include "BLF_api.h" +#include "BLF_translation.h" /* own include */ + #ifdef WITH_INTERNATIONAL #include <locale.h> diff --git a/source/blender/blenfont/intern/blf_translation.c b/source/blender/blenfont/intern/blf_translation.c index 8688249732f..fe14f5d4d1c 100644 --- a/source/blender/blenfont/intern/blf_translation.c +++ b/source/blender/blenfont/intern/blf_translation.c @@ -47,7 +47,7 @@ #include "DNA_userdef_types.h" /* For user settings. */ #ifdef WITH_INTERNATIONAL -const char unifont_filename[]="droidsans.ttf.gz"; +static const char unifont_filename[]="droidsans.ttf.gz"; static unsigned char *unifont_ttf= NULL; static int unifont_size= 0; |