diff options
author | anotherguest | 2013-11-26 12:14:38 +0100 |
---|---|---|
committer | anotherguest | 2013-11-26 12:14:38 +0100 |
commit | 44947f5bdb45095793f1e994385f051d534d53ee (patch) | |
tree | 7bfc07044c7a1d585fa5145ef91bfb6f9fb6e242 /engines/groovie/font.cpp | |
parent | ed357a6dfacd2fd41366d2baf61bd344fec9a0a0 (diff) | |
parent | 0e017f007a8a3db8c8d8320f76cbfd423e662e07 (diff) | |
download | scummvm-rg350-44947f5bdb45095793f1e994385f051d534d53ee.tar.gz scummvm-rg350-44947f5bdb45095793f1e994385f051d534d53ee.tar.bz2 scummvm-rg350-44947f5bdb45095793f1e994385f051d534d53ee.zip |
Merge branch 'master' of github.com:scummvm/scummvm
Diffstat (limited to 'engines/groovie/font.cpp')
-rw-r--r-- | engines/groovie/font.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/groovie/font.cpp b/engines/groovie/font.cpp index d29c22dd02..a55d8fad95 100644 --- a/engines/groovie/font.cpp +++ b/engines/groovie/font.cpp @@ -112,7 +112,7 @@ bool T7GFont::load(Common::SeekableReadStream &stream) { return true; } -void T7GFont::drawChar(Graphics::Surface *dst, byte chr, int x, int y, uint32 color) const { +void T7GFont::drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint32 color) const { // We ignore the color, as the font is already colored const Glyph *glyph = getGlyph(chr); const byte *src = glyph->pixels; @@ -125,7 +125,7 @@ void T7GFont::drawChar(Graphics::Surface *dst, byte chr, int x, int y, uint32 co } } -const T7GFont::Glyph *T7GFont::getGlyph(byte chr) const { +const T7GFont::Glyph *T7GFont::getGlyph(uint32 chr) const { assert (chr < 128); byte numGlyph = _mapChar2Glyph[chr]; |