Browse Source

fixed gcc warnings with regard to initialization order in GlyphData

Bill Meltsner 15 years ago
parent
commit
e937ab2d68
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/font/GlyphData.cpp

+ 1 - 1
src/modules/font/GlyphData.cpp

@@ -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) {