Need to make safe, check for zero after retrieving desktop pointer.

svn path=/trunk/; revision=34407
This commit is contained in:
James Tabor 2008-07-10 11:19:24 +00:00
parent 7fdb555744
commit 326c138e1b

View file

@ -705,7 +705,8 @@ GetShellWindow(VOID)
{
PDESKTOP pdi;
pdi = GetThreadDesktopInfo();
return pdi->hShellWindow;
if (pdi) return pdi->hShellWindow;
return NULL;
}