Commit 4489aa96f6b48ca8c6927a7bc55b53d24403c933

sammy 2008-04-25T12:24:52

* *sigh*, another bug fix for a problem I introduced in [941].

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTExtrdGlyph.cpp b/src/FTExtrdGlyph.cpp
index 398b31e..2dff8b9 100644
--- a/src/FTExtrdGlyph.cpp
+++ b/src/FTExtrdGlyph.cpp
@@ -46,7 +46,7 @@ FTExtrdGlyph::FTExtrdGlyph(FT_GlyphSlot glyph, float _depth,
 :   FTGlyph(glyph),
     glList(0)
 {
-    bBox.SetDepth(-depth);
+    bBox.SetDepth(-_depth);
 
     if(ft_glyph_format_outline != glyph->format)
     {