Commit ab105e731e38ab8797031bb294b6cf7f8add7e6e

henry 2003-10-01T00:25:15

Minor change

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/include/FTBBox.h b/include/FTBBox.h
index f679c89..4bd7bd3 100755
--- a/include/FTBBox.h
+++ b/include/FTBBox.h
@@ -53,13 +53,13 @@ class FTGL_EXPORT FTBBox
             upperY(0.0f),
             upperZ(0.0f)
         {
-            FT_BBox bbox;
             FT_Glyph glyphImage;
             if( FT_Get_Glyph( glyph, &glyphImage ))
             {
                 return;
             }
             
+            FT_BBox bbox;
             FT_Glyph_Get_CBox( glyphImage, ft_glyph_bbox_subpixels, &bbox );
             
             lowerX = static_cast<float>( bbox.xMin) / 64.0f;