diff options
author | Max Horn | 2002-11-05 21:48:40 +0000 |
---|---|---|
committer | Max Horn | 2002-11-05 21:48:40 +0000 |
commit | 5c0b145315659e911ea9bb4cccce59a32631c4ff (patch) | |
tree | e1d5aa502f0646d0f1ef1e46c44deb79dab9a545 /gui/newgui.cpp | |
parent | 973032dd90439ec1e48a95163e51a9fdef2faacf (diff) | |
download | scummvm-rg350-5c0b145315659e911ea9bb4cccce59a32631c4ff.tar.gz scummvm-rg350-5c0b145315659e911ea9bb4cccce59a32631c4ff.tar.bz2 scummvm-rg350-5c0b145315659e911ea9bb4cccce59a32631c4ff.zip |
fix for bug #633087 (umlauts in GUI)
svn-id: r5426
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r-- | gui/newgui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index d4edecc5a7..7e98d8d6ed 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -390,7 +390,7 @@ void NewGui::addDirtyRect(int x, int y, int w, int h) _system->copy_rect_overlay(buf, _screenPitch, x, y, w, h); } -void NewGui::drawChar(const char chr, int xx, int yy, int16 color) +void NewGui::drawChar(const byte chr, int xx, int yy, int16 color) { unsigned int buffer = 0, mask = 0, x, y; byte *tmp; @@ -425,7 +425,7 @@ int NewGui::getStringWidth(const String &str) return space; } -int NewGui::getCharWidth(char c) +int NewGui::getCharWidth(byte c) { return guifont[c+6]; } |