From 708c1e43fd04bb4efbfd98ac37ad545b2d079a2f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 2 Jan 2009 23:47:16 +0000 Subject: [PATCH] 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. --- src/video/win32/SDL_win32window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/win32/SDL_win32window.c b/src/video/win32/SDL_win32window.c index fbd216faa..fddc7e1cd 100644 --- a/src/video/win32/SDL_win32window.c +++ b/src/video/win32/SDL_win32window.c @@ -377,7 +377,7 @@ WIN_SetWindowSize(_THIS, SDL_Window * window) 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