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);
|
||||
SendMessageW(Globals.hEdit, WM_SETFONT, (WPARAM)Globals.hFont, FALSE);
|
||||
SendMessageW(Globals.hEdit, EM_LIMITTEXT, 0, 0);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user