From 44aacfc59f06106acc492dda7b514db5c7f082ca Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 31 Oct 2009 19:46:51 +0000 Subject: (svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string. Gentlemen, swap your string parameters. --- src/intro_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intro_gui.cpp') diff --git a/src/intro_gui.cpp b/src/intro_gui.cpp index 7f7bd72d0..ce636f61a 100644 --- a/src/intro_gui.cpp +++ b/src/intro_gui.cpp @@ -122,7 +122,7 @@ struct SelectGameWindow : public Window { case SGI_PLAY_NETWORK: if (!_network_available) { - ShowErrorMessage(INVALID_STRING_ID, STR_NETWORK_ERROR_NOTAVAILABLE, 0, 0); + ShowErrorMessage(STR_NETWORK_ERROR_NOTAVAILABLE, INVALID_STRING_ID, 0, 0); } else { ShowNetworkGameWindow(); } @@ -141,7 +141,7 @@ struct SelectGameWindow : public Window { case SGI_GRF_SETTINGS: ShowNewGRFSettings(true, true, false, &_grfconfig_newgame); break; case SGI_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 { ShowNetworkContentListWindow(); } -- cgit v1.2.3-54-g00ecf