Fixed various uninitiliazed variables.

This commit is contained in:
Robert Osfield
2002-07-21 20:34:38 +00:00
parent 3cda894ca5
commit bfefb55a9f
11 changed files with 55 additions and 14 deletions

View File

@@ -22,6 +22,8 @@ FTBitmapGlyph::FTBitmapGlyph( FT_Glyph glyph)
int srcHeight = source->rows;
int srcPitch = source->pitch;
if (srcPitch*srcHeight==0) return;
advance = glyph->advance.x >> 16;
pos.x = bitmap->left;