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:
authorJoshua Leung <aligorith@gmail.com>2009-10-27 12:38:15 +0300
committerJoshua Leung <aligorith@gmail.com>2009-10-27 12:38:15 +0300
commite76ce369bb45f1134b45982ec3ac0a108c9ccf44 (patch)
tree073f830bd379bdc75e910dc7b4fd27403d211a74 /source/blender/blenfont
parent1c1659eb286b369ffe6ba99207c42611159f24bb (diff)
Compiler warning fixes for mingw:
* There's an unresolved error in transform_conversions.c which I've flagged in this commit. I'm not quite sure what the exact intentions of that code were (i.e. was the "void_pointer = 1" really intended)
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index db88d84d0b5..99ba3d50821 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -289,7 +289,7 @@ void BLF_blur(int size)
void BLF_draw_default(float x, float y, float z, char *str)
{
FontBLF *font;
- int old_font, old_point, old_dpi;
+ int old_font=0, old_point=0, old_dpi=0;
if (!str)
return;
@@ -404,7 +404,7 @@ float BLF_width_default(char *str)
{
FontBLF *font;
float width;
- int old_font, old_point, old_dpi;
+ int old_font=0, old_point=0, old_dpi=0;
if (global_font_default == -1)
global_font_default= blf_search("default");
@@ -447,7 +447,7 @@ float BLF_height_default(char *str)
{
FontBLF *font;
float height;
- int old_font, old_point, old_dpi;
+ int old_font=0, old_point=0, old_dpi=0;
if (global_font_default == -1)
global_font_default= blf_search("default");