aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorChris Apers2003-11-28 15:18:14 +0000
committerChris Apers2003-11-28 15:18:14 +0000
commit392af5eab9eab8be6a171e72b9082af530ebe02e (patch)
treeb63527e885018095259cfce8829839ad15b716d7 /gui
parent49aa5e93406365d7beb739ae4c8f1480fc553d91 (diff)
downloadscummvm-rg350-392af5eab9eab8be6a171e72b9082af530ebe02e.tar.gz
scummvm-rg350-392af5eab9eab8be6a171e72b9082af530ebe02e.tar.bz2
scummvm-rg350-392af5eab9eab8be6a171e72b9082af530ebe02e.zip
Fixed error using NEW_FONT_CODE with PalmOS port
svn-id: r11412
Diffstat (limited to 'gui')
-rw-r--r--gui/newgui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp
index fbc5f7e277..b9b0b9b05e 100644
--- a/gui/newgui.cpp
+++ b/gui/newgui.cpp
@@ -627,11 +627,15 @@ void NewGui::animateCursor() {
#include "scumm_globals.h"
_GINIT(NewGui)
+#ifndef NEW_FONT_CODE
_GSETPTR(GUI::guifont, GBVARS_GUIFONT_INDEX, byte, GBVARS_SCUMM)
+#endif
_GEND
_GRELEASE(NewGui)
+#ifndef NEW_FONT_CODE
_GRELEASEPTR(GBVARS_GUIFONT_INDEX, GBVARS_SCUMM)
+#endif
_GEND
#endif