From ebe9402dab8590cd24e00fe6c616643c1e40b578 Mon Sep 17 00:00:00 2001 From: mightymax Date: Mon, 15 Jan 2007 20:17:42 +0000 Subject: [PATCH] fixed var declaration --- trunk/desmume/src/windows/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/desmume/src/windows/main.c b/trunk/desmume/src/windows/main.c index bbd358fa6..876c80161 100644 --- a/trunk/desmume/src/windows/main.c +++ b/trunk/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 ;