diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-11 14:55:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-11 14:55:32 +0400 |
commit | c4f332084f202123b73b9623c892997c005ba948 (patch) | |
tree | 7064b349f016a28caad8de5c064bbd9871933702 /source/blender/blenfont | |
parent | 47068e88fba5b8a79ae8a9a09dadac684869faa6 (diff) |
code cleanup:
- blf doesnt have includes for TRUE/FALSE, use 1/0.
- rename ogl_multisamples -> multi_sample, also shorten enum strings.
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c index f56c0e7503c..778b6c11e5a 100644 --- a/source/blender/blenfont/intern/blf.c +++ b/source/blender/blenfont/intern/blf.c @@ -28,7 +28,6 @@ * \ingroup blf */ - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -149,10 +148,10 @@ static int blf_global_font_init(void) if (global_font_default == -1) { printf("Warning: Can't find default font!\n"); - return FALSE; + return 0; } else { - return TRUE; + return 1; } } |