summaryrefslogtreecommitdiff
path: root/src/cheat_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cheat_gui.cpp')
-rw-r--r--src/cheat_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cheat_gui.cpp b/src/cheat_gui.cpp
index e4c7572ce..ac42cf913 100644
--- a/src/cheat_gui.cpp
+++ b/src/cheat_gui.cpp
@@ -170,9 +170,9 @@ struct CheatWindow : Window {
int clicked;
int header_height;
- CheatWindow(const WindowDesc *desc) : Window()
+ CheatWindow(WindowDesc *desc) : Window(desc)
{
- this->InitNested(desc);
+ this->InitNested();
}
virtual void DrawWidget(const Rect &r, int widget) const
@@ -348,7 +348,7 @@ struct CheatWindow : Window {
};
/** Window description of the cheats GUI. */
-static const WindowDesc _cheats_desc(
+static WindowDesc _cheats_desc(
WDP_AUTO, 0, 0,
WC_CHEATS, WC_NONE,
0,