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/network/network_content_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/network/network_content_gui.cpp')
-rw-r--r-- | src/network/network_content_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 80631f17f..2e07a7bc7 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -755,7 +755,7 @@ public: virtual void OnConnect(bool success) { if (!success) { - ShowErrorMessage(INVALID_STRING_ID, STR_CONTENT_ERROR_COULD_NOT_CONNECT, 0, 0); + ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, 0, 0); delete this; } @@ -895,7 +895,7 @@ void ShowNetworkContentListWindow(ContentVector *cv, ContentType type) DeleteWindowById(WC_NETWORK_WINDOW, 1); new NetworkContentListWindow(&_network_content_list_desc, cv != NULL); #else - ShowErrorMessage(STR_CONTENT_NO_ZLIB_SUB, STR_CONTENT_NO_ZLIB, 0, 0); + ShowErrorMessage(STR_CONTENT_NO_ZLIB, STR_CONTENT_NO_ZLIB_SUB, 0, 0); /* Connection failed... clean up the mess */ if (cv != NULL) { for (ContentIterator iter = cv->Begin(); iter != cv->End(); iter++) delete *iter; |