Set window caption even in fullscreen mode (suggested by Smaxx)
authorunc0rr
Fri, 04 Sep 2009 16:39:51 +0000
changeset 2351 a4a17b8df591
parent 2350 1eef75bdcdba
child 2352 7eaf82cf0890
Set window caption even in fullscreen mode (suggested by Smaxx)
hedgewars/CCHandlers.inc
--- 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}