diff options
author | Einar Johan Trøan Sømåen | 2012-08-31 14:01:18 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-08-31 14:01:18 +0200 |
commit | 2039ea6b8df36c960ff25ae56930357d40e95d1d (patch) | |
tree | f4e6f5737f6ca3880584a47554c574f11035ee98 /engines/wintermute/base/font/base_font_truetype.h | |
parent | 16b27090b1c7dc11cdc199b1a98c0f2973db5f45 (diff) | |
download | scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.gz scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.tar.bz2 scummvm-rg350-2039ea6b8df36c960ff25ae56930357d40e95d1d.zip |
WINTERMUTE: Fix g++ warnings listed by LordHoto
Diffstat (limited to 'engines/wintermute/base/font/base_font_truetype.h')
-rw-r--r-- | engines/wintermute/base/font/base_font_truetype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/font/base_font_truetype.h b/engines/wintermute/base/font/base_font_truetype.h index fc4de30fc5..93431b039c 100644 --- a/engines/wintermute/base/font/base_font_truetype.h +++ b/engines/wintermute/base/font/base_font_truetype.h @@ -101,7 +101,7 @@ public: virtual int getTextWidth(byte *text, int maxLength = -1);
virtual int getTextHeight(byte *text, int width);
- virtual void drawText(byte *text, int x, int y, int width, TTextAlign align = TAL_LEFT, int max_height = -1, int maxLength = -1);
+ virtual void drawText(const byte *text, int x, int y, int width, TTextAlign align = TAL_LEFT, int max_height = -1, int maxLength = -1);
virtual int getLetterHeight();
bool loadBuffer(byte *buffer);
|