=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winedbg: Also adjust the detailed crash dialog controls when maximized.

Alexandre Julliard julliard at winehq.org
Thu Jan 19 14:56:52 CST 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 18 22:03:59 2012 +0100

winedbg: Also adjust the detailed crash dialog controls when maximized.

---

 programs/winedbg/crashdlg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/programs/winedbg/crashdlg.c b/programs/winedbg/crashdlg.c
index 39e9bce..1f73979 100644
--- a/programs/winedbg/crashdlg.c
+++ b/programs/winedbg/crashdlg.c
@@ -310,7 +310,7 @@ static INT_PTR WINAPI details_dlg_proc( HWND hwnd, UINT msg, WPARAM wparam, LPAR
         return TRUE;
 
     case WM_SIZE:
-        if (wparam == SIZE_RESTORED)
+        if (wparam == SIZE_RESTORED || wparam == SIZE_MAXIMIZED)
         {
             int off_x = (short)LOWORD( lparam ) - orig_size.x;
             int off_y = (short)HIWORD( lparam ) - orig_size.y;




More information about the wine-cvs mailing list