diff options
author | Max Horn | 2004-02-09 01:37:20 +0000 |
---|---|---|
committer | Max Horn | 2004-02-09 01:37:20 +0000 |
commit | fbd83ab27ebc94fd91f51080af478964cf1bf4aa (patch) | |
tree | c79e301b2bd8d437dc5152e6ae6cbd8fa954c677 /gui | |
parent | 1141ff1ac2f0c125fa4d18cbd64dcd9cc71bf383 (diff) | |
download | scummvm-rg350-fbd83ab27ebc94fd91f51080af478964cf1bf4aa.tar.gz scummvm-rg350-fbd83ab27ebc94fd91f51080af478964cf1bf4aa.tar.bz2 scummvm-rg350-fbd83ab27ebc94fd91f51080af478964cf1bf4aa.zip |
cleanup
svn-id: r12781
Diffstat (limited to 'gui')
-rw-r--r-- | gui/newgui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 1745ee3838..bfa4872ae9 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -58,10 +58,10 @@ enum { */ #else #ifdef __PALM_OS__ -static byte *guifont; +static const byte *guifont; #else // Built-in font -static byte guifont[] = { +static const byte guifont[] = { 0,0,99,1,226,8,4,8,6,8,6,0,0,0,0,0,0,0,0,0,0,0,8,2,1,8,0,0,0,0,0,0,0,0,0,0,0,0,4,3,7,8,7,7,8,4,5,5,8,7,4,7,3,8,7,7,7,7,8,7,7,7,7,7,3,4,7,5,7,7,8,7,7,7,7,7,7,7,7,5,7,7, 7,8,7,7,7,7,7,7,7,7,7,8,7,7,7,5,8,5,8,8,7,7,7,6,7,7,7,7,7,5,6,7,5,8,7,7,7,7,7,7,7,7,7,8,7,7,7,5,3,5,7,8,7,7,7,7,7,7,0,6,7,7,7,5,5,5,7,0,6,8,8,7,7,7,7,7,0,7,7,0,0, 0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,1,3,6,12, @@ -435,7 +435,7 @@ void NewGui::drawChar(byte chr, int xx, int yy, NewGuiColor color) { #else const uint w = 8; const uint h = 8; - const byte *tmp = guifont + 224 + (chr + 1) * 8; + const byte *tmp = guifont + 6 + guifont[4] + chr * 8; uint buffer = 0; uint mask = 0; |