aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Fisher2004-11-28 07:07:15 +0000
committerJerome Fisher2004-11-28 07:07:15 +0000
commit2a3b7efc3d42be8c784896ae50e6e8aa0beb5bcc (patch)
tree48f7deb67af935a6e7467148454c0a4e10212e49
parent2149e0fc785f63ea7ce04db63c3295a2fcfd9c94 (diff)
downloadscummvm-rg350-2a3b7efc3d42be8c784896ae50e6e8aa0beb5bcc.tar.gz
scummvm-rg350-2a3b7efc3d42be8c784896ae50e6e8aa0beb5bcc.tar.bz2
scummvm-rg350-2a3b7efc3d42be8c784896ae50e6e8aa0beb5bcc.zip
- Now uses g_scummfont instead of g_sysfont.
- Added default case to event switch to eliminate compiler warning. svn-id: r15932
-rw-r--r--backends/midi/mt32.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/midi/mt32.cpp b/backends/midi/mt32.cpp
index 921141d4ea..799da75157 100644
--- a/backends/midi/mt32.cpp
+++ b/backends/midi/mt32.cpp
@@ -116,6 +116,8 @@ static int eatSystemEvents() {
switch (event.event_code) {
case OSystem::EVENT_QUIT:
return 1;
+ default:
+ break;
}
}
return 0;
@@ -126,7 +128,7 @@ static void drawProgress(float progress) {
uint32 borderColor = 0x2;
uint32 fillColor = 0x4;
surf.w = g_system->getWidth() / 7 * 5;
- surf.h = Graphics::g_sysfont.getFontHeight();
+ surf.h = Graphics::g_scummfont.getFontHeight();
int x = g_system->getWidth() / 7;
int y = g_system->getHeight() / 2 - surf.h / 2;
surf.pitch = surf.w;