Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
slouken committed Jan 2, 2009
1 parent d76aa76 commit 708c1e43fd04bb4efbfd98ac37ad545b2d079a2f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 708c1e4

Please sign in to comment.