summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-12-29 12:59:58 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-12-29 12:59:58 +0000
commit8528fc2521f9dbd8b86bf861f088fbc1affaef50 (patch)
tree65d72ef9de2e5edd8cd785304186602dd0527517 /src
parentb32f28d74e9ec5cfe3bc443e2fbffd5de245fd0b (diff)
downloadmana-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.gz
mana-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.bz2
mana-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.xz
mana-8528fc2521f9dbd8b86bf861f088fbc1affaef50.zip
Added the workaround suggested by Doener
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.cpp3
1 files changed, 3 insertions, 0 deletions
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();
}