diff options
author | Einar Johan Trøan Sømåen | 2012-06-15 00:28:59 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-15 00:28:59 +0200 |
commit | a488db8f93f37f79123226fdd561ba78578822f5 (patch) | |
tree | f14fa0ae1d5536b4f809c750b088037be1bac870 /engines/wintermute/Base/BFontTT.cpp | |
parent | 181414d749080b0c10c441ace945c3965f43fa39 (diff) | |
download | scummvm-rg350-a488db8f93f37f79123226fdd561ba78578822f5.tar.gz scummvm-rg350-a488db8f93f37f79123226fdd561ba78578822f5.tar.bz2 scummvm-rg350-a488db8f93f37f79123226fdd561ba78578822f5.zip |
WINTERMUTE: Clear out a bunch of warning (mostly shadowed variables)
Diffstat (limited to 'engines/wintermute/Base/BFontTT.cpp')
-rw-r--r-- | engines/wintermute/Base/BFontTT.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/Base/BFontTT.cpp b/engines/wintermute/Base/BFontTT.cpp index 85c2bee334..2ec1f5031b 100644 --- a/engines/wintermute/Base/BFontTT.cpp +++ b/engines/wintermute/Base/BFontTT.cpp @@ -876,9 +876,10 @@ void CBFontTT::MeasureText(const WideString &text, int maxWidth, int maxHeight, //////////////////////////////////////////////////////////////////////////
float CBFontTT::GetKerning(wchar_t leftChar, wchar_t rightChar) {
+#if 0
GlyphInfo *infoLeft = _glyphCache->GetGlyph(leftChar);
GlyphInfo *infoRight = _glyphCache->GetGlyph(rightChar);
-#if 0
+
if (!infoLeft || !infoRight) return 0;
FT_Vector delta;
|