Cancel pending notifications when EM_SETMODIFY is called.
This commit is contained in:
parent
124b61904f
commit
40ed511c86
|
@ -445,7 +445,7 @@ LRESULT WINAPI EditWndProc( HWND hwnd, UINT msg,
|
|||
if (wParam)
|
||||
es->flags |= EF_MODIFIED;
|
||||
else
|
||||
es->flags &= ~EF_MODIFIED;
|
||||
es->flags &= ~(EF_MODIFIED | EF_UPDATE); /* reset pending updates */
|
||||
break;
|
||||
|
||||
case EM_GETLINECOUNT16:
|
||||
|
|
Loading…
Reference in New Issue