changeset 2968:efe4d0ce2e97

Date: Fri, 02 Jan 2009 23:22:39 +0100 From: Couriersud Subject: SDL1.3 Win32 Resize bug the attached diff fixes a bug where width and height were exchanged when resizing a window.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 02 Jan 2009 23:47:16 +0000
parents e4a469d6ddab
children 1ee69e7e7cea
files src/video/win32/SDL_win32window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c	Fri Jan 02 17:39:48 2009 +0000
+++ b/src/video/win32/SDL_win32window.c	Fri Jan 02 23:47:16 2009 +0000
@@ -377,7 +377,7 @@
     w = (rect.right - rect.left);
     h = (rect.bottom - rect.top);
 
-    SetWindowPos(hwnd, top, 0, 0, h, w, (SWP_NOCOPYBITS | SWP_NOMOVE));
+    SetWindowPos(hwnd, top, 0, 0, w, h, (SWP_NOCOPYBITS | SWP_NOMOVE));
 }
 
 void