diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-12-29 12:59:58 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-12-29 12:59:58 +0000 |
commit | 8528fc2521f9dbd8b86bf861f088fbc1affaef50 (patch) | |
tree | 65d72ef9de2e5edd8cd785304186602dd0527517 | |
parent | b32f28d74e9ec5cfe3bc443e2fbffd5de245fd0b (diff) | |
download | mana-client-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.gz mana-client-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.bz2 mana-client-8528fc2521f9dbd8b86bf861f088fbc1affaef50.tar.xz mana-client-8528fc2521f9dbd8b86bf861f088fbc1affaef50.zip |
Added the workaround suggested by Doener
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/gui/gui.cpp | 3 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-12-09 Jan-Fabian Humann <malastare@gmx.net> + + * src/gui/gui.cpp: Added rather ugly workaround to prevent a on-start + crash by Doener. + 2005-12-29 Björn Steinbrink <B.Steinbrink@gmx.de> * src/game.cpp, src/gui/popupmenu.cpp, src/net/protocol.cpp: Remove 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(); } |