[PATCH 8/8] regedit: Remove commented code from resize_frame_rect()

Hugh McMaster hugh.mcmaster at outlook.com
Thu Jul 27 07:26:09 CDT 2017


Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
---
 programs/regedit/framewnd.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index c3cc996e74..b82eb1068b 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -57,16 +57,9 @@ static WCHAR modifyW[32], modify_binaryW[64];
 
 static void resize_frame_rect(HWND hWnd, PRECT prect)
 {
-    RECT rt;
-    /*
-    	if (IsWindowVisible(hToolBar)) {
-		SendMessageW(hToolBar, WM_SIZE, 0, 0);
-    		GetClientRect(hToolBar, &rt);
-    		prect->top = rt.bottom+3;
-    		prect->bottom -= rt.bottom+3;
-    	}
-     */
     if (IsWindowVisible(hStatusBar)) {
+        RECT rt;
+
         SetupStatusBar(hWnd, TRUE);
         GetClientRect(hStatusBar, &rt);
         prect->bottom -= rt.bottom;
-- 
2.13.2




More information about the wine-patches mailing list