mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[User32]
- Patch by Nikolay Sivov [email protected] : Check for edit window to be here in case of destruction during handler execution. - Edit wine sync. svn path=/trunk/; revision=44445
This commit is contained in:
@@ -5484,7 +5484,7 @@ LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg,
|
||||
break;
|
||||
}
|
||||
|
||||
if (es) EDIT_UnlockBuffer(es, FALSE);
|
||||
if (IsWindow(hwnd) && es) EDIT_UnlockBuffer(es, FALSE);
|
||||
|
||||
TRACE("hwnd=%p msg=%x (%s) -- 0x%08lx\n", hwnd, msg, SPY_GetMsgName(msg, hwnd), result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user