mirror of
https://github.com/reactos/reactos.git
synced 2026-09-11 20:32:22 +08:00
[User32]
- Patch by Nikolay Sivov bunglehead@gmail.com : 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