Send EM_SETMODIFY after saving.
authorJuan Lang <juan_lang@yahoo.com>
Mon, 6 Dec 2004 16:14:44 +0000 (16:14 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 6 Dec 2004 16:14:44 +0000 (16:14 +0000)
programs/notepad/dialog.c

index 9659097a93f839a2d62253a769eaf37e7dc3dce7..9c352d44b17f97f372d393f846913c67b80efacd 100644 (file)
@@ -162,6 +162,8 @@ static VOID DoSaveFile(VOID)
 
     if (!WriteFile(hFile, pTemp, size, &dwNumWrite, NULL))
         ShowLastError();
+    else
+        SendMessage(Globals.hEdit, EM_SETMODIFY, FALSE, 0);
 
     CloseHandle(hFile);
     HeapFree(GetProcessHeap(), 0, pTemp);