mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
notepad: Increase the text limit.
This commit is contained in:
parent
fab57fe018
commit
3b6c20e486
1 changed files with 1 additions and 0 deletions
|
@ -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