changeset 35477:1a82d83c00eb

Use correct video window parameters. We have to resize to the skin's values here. (Since the guiInfo members have been overwritten erroneously, it hasn't made a difference yet.)
author ib
date Mon, 03 Dec 2012 10:20:46 +0000
parents 265e26553c78
children f30b45bafb82
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 03 02:56:16 2012 +0000
+++ b/gui/interface.c	Mon Dec 03 10:20:46 2012 +0000
@@ -820,7 +820,7 @@
                 guiInfo.VideoHeight = guiApp.video.height;
 
                 if (!guiApp.videoWindow.isFullScreen) {
-                    wsResizeWindow(&guiApp.videoWindow, guiInfo.VideoWidth, guiInfo.VideoHeight);
+                    wsResizeWindow(&guiApp.videoWindow, guiApp.video.width, guiApp.video.height);
                     wsMoveWindow(&guiApp.videoWindow, False, guiApp.video.x, guiApp.video.y);
                 }