- Gracefully handle NULL clipbrd in clipbrd_wndproc. This is probably not the right fix, but avoids crashing for now.
CORE-11905

svn path=/trunk/; revision=72622
This commit is contained in:
Thomas Faber 2016-09-08 11:01:43 +00:00
parent 3b9689a4ea
commit 8cb8d2d156

View file

@ -2001,6 +2001,10 @@ static LRESULT CALLBACK clipbrd_wndproc(HWND hwnd, UINT message, WPARAM wparam,
ole_clipbrd *clipbrd;
get_ole_clipbrd(&clipbrd);
#ifdef __REACTOS__
if(clipbrd == NULL)
return DefWindowProcW(hwnd, message, wparam, lparam);
#endif
switch (message)
{