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

@@ -26,6 +26,8 @@ FTPixmapGlyph::FTPixmapGlyph( FT_Glyph glyph)
int srcHeight = source->rows;
int srcPitch = source->pitch;
if (srcWidth*srcHeight==0) return;
numGreys = source->num_grays;
advance = glyph->advance.x >> 16;