Send EM_SETMODIFY after saving.

This commit is contained in:
Juan Lang 2004-12-06 16:14:44 +00:00 committed by Alexandre Julliard
parent 4120647ae7
commit e55b943802
1 changed files with 2 additions and 0 deletions

View File

@ -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);