summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-02-17 20:48:52 +0000
committerrubidium <rubidium@openttd.org>2013-02-17 20:48:52 +0000
commitdfdced2239ae50ac2f672d156242a1de5d7118a3 (patch)
treececd3ef56dfbe657236f0fbc03482879e588d228 /src/smallmap_gui.cpp
parent6b689569699e5a0f0776a394a8f15c397d2cec9b (diff)
downloadopenttd-dfdced2239ae50ac2f672d156242a1de5d7118a3.tar.xz
(svn r25019) -Fix: GCC doesn't seem to care if one does Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index d42ed3c15..b22e606b8 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -1016,7 +1016,7 @@ uint SmallMapWindow::GetLegendHeight(uint num_columns) const
}
}
-/* virtual */ void SmallMapWindow::SmallMapWindow::OnInit()
+/* virtual */ void SmallMapWindow::OnInit()
{
uint min_width = 0;
this->min_number_of_columns = INDUSTRY_MIN_NUMBER_OF_COLUMNS;