summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/gui/gui.cpp3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c0faa8..334679cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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();
}