X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=vid_sdl.c;h=a1bef3b39c1149f613fad8b8b77f372454cc38ec;hp=a6edf127d361e7231e7cdca5a360cfcf5b9f3df7;hb=641d75aeb3b3934d9bbe1e2603bdd05d14a15ff1;hpb=d38b46c83edc12710082d43ae303a4bbbd2d9486 diff --git a/vid_sdl.c b/vid_sdl.c index a6edf127..a1bef3b3 100644 --- a/vid_sdl.c +++ b/vid_sdl.c @@ -2453,7 +2453,7 @@ static void AdjustWindowBounds(viddef_mode_t *mode, RECT *rect) else { rect->left = workArea.left + max(0, (workWidth - width) / 2); - rect->top = workArea.top + (0, (workHeight - height) / 2); + rect->top = workArea.top + ((workHeight - height) / 2); } } #endif