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:
authorCampbell Barton <ideasman42@gmail.com>2012-11-11 14:55:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-11 14:55:32 +0400
commitc4f332084f202123b73b9623c892997c005ba948 (patch)
tree7064b349f016a28caad8de5c064bbd9871933702 /source/blender/blenfont
parent47068e88fba5b8a79ae8a9a09dadac684869faa6 (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.c5
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;
}
}