From 8528fc2521f9dbd8b86bf861f088fbc1affaef50 Mon Sep 17 00:00:00 2001 From: Jan-Fabian Humann Date: Thu, 29 Dec 2005 12:59:58 +0000 Subject: Added the workaround suggested by Doener --- src/gui/gui.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/gui.cpp') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 25b794ec..fcb4b0d9 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -172,6 +172,9 @@ Gui::Gui(Graphics *graphics): mConfigListener = new GuiConfigListener(this); config.addListener("customcursor", mConfigListener); + // XXX FIXME: Just a temporary solution to work around a bug, better way + // would be to implement a FontManager class. + gui = this; mPopup = new PopupMenu(); } -- cgit v1.2.3-70-g09d2