From 8fa3c6f9ed65f39ca87f8618b1f1ddd08c4854b4 Mon Sep 17 00:00:00 2001 From: SuuperW Date: Tue, 21 Aug 2018 10:26:11 -0500 Subject: [PATCH] fix regression from commit 17c30c48 --- desmume/src/frontend/windows/display.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/frontend/windows/display.cpp b/desmume/src/frontend/windows/display.cpp index aa303b520..61021e197 100644 --- a/desmume/src/frontend/windows/display.cpp +++ b/desmume/src/frontend/windows/display.cpp @@ -742,6 +742,8 @@ void UpdateWndRects(HWND hwnd, RECT* newClientRect) POINT ptClient; RECT rc; + GapRect = {0,0,0,0}; + bool maximized = IsZoomed(hwnd) != FALSE; int wndWidth, wndHeight;