mirror of
https://github.com/reactos/reactos.git
synced 2025-06-03 16:30:26 +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
1 changed files with 4 additions and 0 deletions
|
@ -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