Commit 4aaf65e6 authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Bugfix: Cope with NULL pDriverData in X11DRV_WND_GetXWindow.

parent 88bd84ab
......@@ -49,7 +49,7 @@ Atom dndSelection = None;
*/
Window X11DRV_WND_GetXWindow(WND *wndPtr)
{
return wndPtr ?
return wndPtr && wndPtr->pDriverData ?
((X11DRV_WND_DATA *) wndPtr->pDriverData)->window : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment