Alexander Nicolaysen Sørnes : wordpad: Remove RB_SIZETORECT call.

Alexandre Julliard julliard at winehq.org
Thu Sep 13 07:17:21 CDT 2007


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sat Sep  8 20:53:30 2007 +0200

wordpad: Remove RB_SIZETORECT call.

---

 programs/wordpad/wordpad.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index b85e0ab..1dbc9e2 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -3110,11 +3110,6 @@ static LRESULT OnSize( HWND hWnd, WPARAM wParam, LPARAM lParam )
             rebarRows--;
 
         rebarHeight = rebarRows ? SendMessageW(hwndReBar, RB_GETBARHEIGHT, 0, 0) : 0;
-
-        rc.top = rc.left = 0;
-        rc.bottom = rebarHeight;
-        rc.right = LOWORD(lParam);
-        SendMessageW(hwndReBar, RB_SIZETORECT, 0, (LPARAM)&rc);
     }
     if (hwndEditor)
     {




More information about the wine-cvs mailing list