notepad: Increase the text limit.

Kusanagi Kouichi slash at ac.auone-net.jp
Wed Feb 10 04:54:42 CST 2010


Fix bug 14178.

Signed-off-by: Kusanagi Kouichi <slash at ac.auone-net.jp>
---
 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..f0c4ed1 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);
+        PostMessageW(Globals.hEdit, EM_LIMITTEXT, 0, 0);
         break;
     }
 
-- 
1.6.6.1




More information about the wine-patches mailing list