diff options
author | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
---|---|---|
committer | Jean-Luc Peurière <jlp@nerim.net> | 2005-03-09 22:45:59 +0300 |
commit | c78e44cdc563853c250da78ee78ba622c39126b2 (patch) | |
tree | fb116af7e1edd94ef96ae883bea727be372e2bd2 /source/blender/ftfont | |
parent | 77d44e88e95d86661fc8b29db923083ec747cf9d (diff) |
big warning hunt commit
lot of casts, added prototypes, missing includes and some true errors
Diffstat (limited to 'source/blender/ftfont')
-rw-r--r-- | source/blender/ftfont/intern/FTF_TTFont.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/ftfont/intern/FTF_TTFont.cpp b/source/blender/ftfont/intern/FTF_TTFont.cpp index 0c979ea5a94..627cd6f270b 100644 --- a/source/blender/ftfont/intern/FTF_TTFont.cpp +++ b/source/blender/ftfont/intern/FTF_TTFont.cpp @@ -240,6 +240,7 @@ int FTF_TTFont::SetFont(const unsigned char* str, int datasize, int fontsize) return 1; } } + return 0; } void FTF_TTFont::SetLanguage(char* str) @@ -372,6 +373,7 @@ float FTF_TTFont::GetStringWidth(char* str, unsigned int flag) } else if(mode == FTF_TEXTUREFONT) { return font->Advance(wstr);// * fsize; } + return 0.0; } |