Commit 55f18a05 authored by Rocky Bernstein's avatar Rocky Bernstein

gcc 3.4.3 gave this error:

  src/ft2_font.cpp: In member function `virtual GenericBitmap* FT2Font::drawString(const UString&, uint32_t, int) const':
  src/ft2_font.cpp:172: error: array bound forbidden after parenthesized type-id
  src/ft2_font.cpp:172: note: try removing the parentheses around the type-id

Follow the suggestion.
parent 15c9e65f
......@@ -169,7 +169,7 @@ GenericBitmap *FT2Font::drawString( const UString &rString, uint32_t color,
#endif
// Array of glyph bitmaps and position
FT_BitmapGlyphRec **glyphs = new (FT_BitmapGlyphRec*)[len];
FT_BitmapGlyphRec **glyphs = new FT_BitmapGlyphRec*[len];
int *pos = new int[len];
// Does the font support kerning ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment