summaryrefslogtreecommitdiff
path: root/src/town_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
committeralberth <alberth@openttd.org>2009-10-31 19:46:51 +0000
commit44aacfc59f06106acc492dda7b514db5c7f082ca (patch)
treec1502b47e5712f3dbe7b0542e88312bec676751e /src/town_gui.cpp
parent4ce1f5f0a0af73f618a1116b9e4cc25035caead5 (diff)
downloadopenttd-44aacfc59f06106acc492dda7b514db5c7f082ca.tar.xz
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
Gentlemen, swap your string parameters.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index a2e6abb69..8b6733416 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -1046,7 +1046,7 @@ public:
_generating_world = true;
UpdateNearestTownForRoadTiles(true);
if (!GenerateTowns(this->town_layout)) {
- ShowErrorMessage(STR_ERROR_NO_SPACE_FOR_TOWN, STR_ERROR_CAN_T_GENERATE_TOWN, 0, 0);
+ ShowErrorMessage(STR_ERROR_CAN_T_GENERATE_TOWN, STR_ERROR_NO_SPACE_FOR_TOWN, 0, 0);
}
UpdateNearestTownForRoadTiles(false);
_generating_world = false;