fixed gcc warnings with regard to initialization order in GlyphData

This commit is contained in:
Bill Meltsner
2010-08-26 10:36:07 -05:00
parent b3799b52e6
commit e937ab2d68
+1 -1
View File
@@ -28,7 +28,7 @@ namespace font
{
GlyphData::GlyphData(unsigned short glyph, GlyphMetrics glyphMetrics, GlyphData::Format f)
: glyph(glyph), metrics(glyphMetrics), format(f), padded(false), data(0)
: glyph(glyph), metrics(glyphMetrics), data(0), format(f), padded(false)
{
if (metrics.width && metrics.height) {
switch (f) {