wordpad: Empty the richedit undo buffer on creation.
This commit is contained in:
parent
864e24d2e5
commit
2b52dd8450
|
@ -2419,6 +2419,7 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hOldInstance, LPSTR szCmdPar
|
|||
set_caption(NULL);
|
||||
set_bar_states();
|
||||
set_fileformat(SF_RTF);
|
||||
SendMessageW(hEditorWnd, EM_EMPTYUNDOBUFFER, 0, 0);
|
||||
hPopupMenu = LoadMenuW(hInstance, MAKEINTRESOURCEW(IDM_POPUP));
|
||||
get_default_printer_opts();
|
||||
target_device(hMainWnd, wordWrap[reg_formatindex(fileFormat)]);
|
||||
|
|
Loading…
Reference in New Issue