mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 07:44:06 +00:00
notepad: Increase the text limit.
This commit is contained in:
parent
fab57fe018
commit
3b6c20e486
|
@ -536,6 +536,7 @@ static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
|
||||||
|
|
||||||
Globals.hFont = CreateFontIndirectW(&Globals.lfFont);
|
Globals.hFont = CreateFontIndirectW(&Globals.lfFont);
|
||||||
SendMessageW(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, FALSE);
|
SendMessageW(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, FALSE);
|
||||||
|
SendMessageW(Globals.hEdit, EM_LIMITTEXT, 0, 0);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue