mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[OLE32]
- 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:
parent
3b9689a4ea
commit
8cb8d2d156
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue