hedgewars/CCHandlers.inc
changeset 2351 a4a17b8df591
parent 2314 953771a06c64
child 2372 f3e7a066c2b8
--- a/hedgewars/CCHandlers.inc	Fri Sep 04 16:34:32 2009 +0000
+++ b/hedgewars/CCHandlers.inc	Fri Sep 04 16:39:51 2009 +0000
@@ -577,8 +577,9 @@
 	flags:= flags or SDL_FULLSCREEN;
 	cScreenWidth:= cInitWidth;
 	cScreenHeight:= cInitHeight
-	end
-	else SDL_WM_SetCaption('Hedgewars', nil);
+	end;
+
+SDL_WM_SetCaption('Hedgewars', nil);
 {$IFDEF DEBUGFILE}
 AddFileLog('Freeing old primary surface...');
 {$ENDIF}