fixed var declaration

This commit is contained in:
mightymax 2007-01-15 20:17:42 +00:00
parent 76980ec082
commit bade99d4bf
1 changed files with 1 additions and 1 deletions

View File

@ -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 ;