Kusanagi Kouichi : notepad: Increase the text limit.

Alexandre Julliard julliard at winehq.org
Wed Feb 10 10:44:52 CST 2010


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

Author: Kusanagi Kouichi <slash at ac.auone-net.jp>
Date:   Wed Feb 10 19:54:42 2010 +0900

notepad: Increase the text limit.

---

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

diff --git a/programs/notepad/main.c b/programs/notepad/main.c
index d45fac7..1ddd95c 100644
--- a/programs/notepad/main.c
+++ b/programs/notepad/main.c
@@ -536,6 +536,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
 
         Globals.hFont = CreateFontIndirectW(&Globals.lfFont);
         SendMessageW(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, FALSE);
+        SendMessageW(Globals.hEdit, EM_LIMITTEXT, 0, 0);
         break;
     }
 




More information about the wine-cvs mailing list