summaryrefslogtreecommitdiff
path: root/intro_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'intro_gui.c')
-rw-r--r--intro_gui.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/intro_gui.c b/intro_gui.c
index a4f77fcb0..baa64d785 100644
--- a/intro_gui.c
+++ b/intro_gui.c
@@ -57,15 +57,14 @@ static void SelectGameWndProc(Window *w, WindowEvent *e) {
case 4: ShowPatchesSelection(); break;
case 5: DoCommandP(0, InteractiveRandom(), 0, NULL, CMD_CREATE_SCENARIO); break;
case 7:
-#ifdef ENABLE_NETWORK
+ #ifdef ENABLE_NETWORK
if (!_network_available) {
- ShowErrorMessage(-1,STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);
- } else {
+ ShowErrorMessage(-1, STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);
+ } else
ShowNetworkGameWindow();
- }
-#else
- ShowErrorMessage(-1,STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);
-#endif /* ENABLE_NETWORK */
+ #else
+ ShowErrorMessage(-1 ,STR_NETWORK_ERR_NOTAVAILABLE, 0, 0);
+ #endif /* ENABLE_NETWORK */
break;
case 8: ShowGameOptions(); break;
case 9: ShowGameDifficulty(); break;