summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:23:42 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:23:42 +0000
commit56e4a8c4d63b19cb037ac1ba64c5a4d7fde4350b (patch)
treef3e5c225182fce7a451af4e09e943920e0f1cc3c /src/smallmap_gui.h
parentb10a4f151aa534860dcc61ecf8cba7b3589e6281 (diff)
downloadopenttd-56e4a8c4d63b19cb037ac1ba64c5a4d7fde4350b.tar.xz
(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction.
Diffstat (limited to 'src/smallmap_gui.h')
-rw-r--r--src/smallmap_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.h b/src/smallmap_gui.h
index c54db27be..4b180f547 100644
--- a/src/smallmap_gui.h
+++ b/src/smallmap_gui.h
@@ -159,7 +159,7 @@ protected:
public:
friend class NWidgetSmallmapDisplay;
- SmallMapWindow(const WindowDesc *desc, int window_number);
+ SmallMapWindow(WindowDesc *desc, int window_number);
virtual ~SmallMapWindow() { delete this->overlay; }
void SmallMapCenterOnCurrentPos();