Send EM_SETMODIFY after saving.
This commit is contained in:
parent
4120647ae7
commit
e55b943802
|
@ -162,6 +162,8 @@ static VOID DoSaveFile(VOID)
|
||||||
|
|
||||||
if (!WriteFile(hFile, pTemp, size, &dwNumWrite, NULL))
|
if (!WriteFile(hFile, pTemp, size, &dwNumWrite, NULL))
|
||||||
ShowLastError();
|
ShowLastError();
|
||||||
|
else
|
||||||
|
SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
|
||||||
|
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
HeapFree(GetProcessHeap(), 0, pTemp);
|
HeapFree(GetProcessHeap(), 0, pTemp);
|
||||||
|
|
Loading…
Reference in New Issue