--- a/hedgewars/hwengine.pas Mon Mar 29 20:32:35 2010 +0000
+++ b/hedgewars/hwengine.pas Mon Mar 29 20:40:33 2010 +0000
@@ -267,11 +267,14 @@
SDLTry(TTF_Init() <> -1, true);
WriteLnToConsole(msgOK);
- (*s:= SDL_getenv('SDL_VIDEO_CENTERED');
+{$IFDEF WIN32}
+ s:= SDL_getenv('SDL_VIDEO_CENTERED');
SDL_putenv('SDL_VIDEO_CENTERED=1');
ShowMainWindow();
- SDL_putenv(str2pchar('SDL_VIDEO_CENTERED=' + s));*)
+ SDL_putenv(str2pchar('SDL_VIDEO_CENTERED=' + s));
+{$ELSE}
ShowMainWindow();
+{$ENDIF}
AddProgress();