wordpad: Don't create maximized window

Alexander Nicolaysen Sørnes alex at thehandofagony.com
Sun Feb 25 07:36:17 CST 2007


Native does not do this, and it is quite annoying with high resolutions.


Regards,

Alexander N. Sørnes
-------------- next part --------------
From 595119e389af89ff7472a4bb1eb9e270f1335190 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Alexander_Nicolaysen_S=C3=B8rnes?= <alex at thehandofagony.com>
Date: Sat, 24 Feb 2007 21:13:53 +0100
Subject: [PATCH] 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());
 
-- 
1.4.4.4



More information about the wine-patches mailing list