Commit 484a90e10f5694cb99b424833f7d45dea49d1634

dtremenak 2008-05-23T00:53:23

no need to shadow variables

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/FTFont/FTFont.cpp b/src/FTFont/FTFont.cpp
index 380b770..035b78c 100644
--- a/src/FTFont/FTFont.cpp
+++ b/src/FTFont/FTFont.cpp
@@ -386,8 +386,8 @@ inline FTBBox FTFontImpl::BBoxI(const T* string, const int len,
         /* Expand totalBox by each glyph in string */
         for(int i = 1; (len < 0 && *ustr) || (len >= 0 && i < len); i++)
         {
-            unsigned int thisChar = *ustr++;
-            unsigned int nextChar = *ustr;
+            thisChar = *ustr++;
+            nextChar = *ustr;
 
             if(CheckGlyph(thisChar))
             {