Alexander Nicolaysen Sørnes : wordpad: Don't create maximized window.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 26 07:59:28 CST 2007


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

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Feb 25 14:36:17 2007 +0100

wordpad: Don't create maximized window.

---

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

diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c
index e3454ee..667e51d 100644
--- a/programs/wordpad/wordpad.c
+++ b/programs/wordpad/wordpad.c
@@ -619,7 +619,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
 
     hMainWnd = CreateWindowExW(0, wszMainWndClass, wszAppTitle, WS_OVERLAPPEDWINDOW,
       CW_USEDEFAULT, CW_USEDEFAULT, 680, 260, NULL, NULL, hInstance, NULL);
-    ShowWindow(hMainWnd, SW_SHOWMAXIMIZED);
+    ShowWindow(hMainWnd, SW_SHOWDEFAULT);
 
     HandleCommandLine(GetCommandLineW());
 




More information about the wine-cvs mailing list