From bade99d4bf4a9485768afaf886888e503cccc647 Mon Sep 17 00:00:00 2001 From: mightymax Date: Mon, 15 Jan 2007 20:17:42 +0000 Subject: [PATCH] fixed var declaration --- desmume/src/windows/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/windows/main.c b/desmume/src/windows/main.c index bbd358fa6..876c80161 100644 --- a/desmume/src/windows/main.c +++ b/desmume/src/windows/main.c @@ -199,8 +199,8 @@ void SetWindowClientSize(HWND hwnd, int cx, int cy) //found at: http://blogs.msd void ScaleScreen(float factor) { - factor -= 1 ; RECT fullSize,clientSize ; + factor -= 1 ; GetWindowRect(hwnd,&fullSize) ; GetClientRect(hwnd,&clientSize) ; fullSize.right += (clientSize.right - clientSize.left) * factor ;