Hugh McMaster : regedit: Remove commented code from resize_frame_rect().

Alexandre Julliard julliard at winehq.org
Thu Jul 27 15:26:15 CDT 2017


Module: wine
Branch: master
Commit: 792e7046a6e9e1507abd947010fe1976a9765cf4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=792e7046a6e9e1507abd947010fe1976a9765cf4

Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date:   Thu Jul 27 12:26:09 2017 +0000

regedit: Remove commented code from resize_frame_rect().

Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 c3cc996..b82eb10 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;




More information about the wine-cvs mailing list