diff options
author | alberth <alberth@openttd.org> | 2009-10-31 19:46:51 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-10-31 19:46:51 +0000 |
commit | 44aacfc59f06106acc492dda7b514db5c7f082ca (patch) | |
tree | c1502b47e5712f3dbe7b0542e88312bec676751e /src/newgrf_gui.cpp | |
parent | 4ce1f5f0a0af73f618a1116b9e4cc25035caead5 (diff) | |
download | openttd-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/newgrf_gui.cpp')
-rw-r--r-- | src/newgrf_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 5319b1c3f..579193c29 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -353,7 +353,7 @@ public: /* Find last entry in the list, checking for duplicate grfid on the way */ for (list = this->list; *list != NULL; list = &(*list)->next) { if ((*list)->grfid == src->grfid) { - ShowErrorMessage(INVALID_STRING_ID, STR_NEWGRF_DUPLICATE_GRFID, 0, 0); + ShowErrorMessage(STR_NEWGRF_DUPLICATE_GRFID, INVALID_STRING_ID, 0, 0); return; } } @@ -835,7 +835,7 @@ struct NewGRFWindow : public Window { case SNGRFS_CONTENT_DOWNLOAD: if (!_network_available) { - ShowErrorMessage(INVALID_STRING_ID, STR_NETWORK_ERROR_NOTAVAILABLE, 0, 0); + ShowErrorMessage(STR_NETWORK_ERROR_NOTAVAILABLE, INVALID_STRING_ID, 0, 0); } else { #if defined(ENABLE_NETWORK) /* Only show the things in the current list, or everything when nothing's selected */ |