From 392af5eab9eab8be6a171e72b9082af530ebe02e Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Fri, 28 Nov 2003 15:18:14 +0000 Subject: Fixed error using NEW_FONT_CODE with PalmOS port svn-id: r11412 --- gui/newgui.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3