- Fix exception. Spotted by Stefan Ginsberg.

svn path=/trunk/; revision=43366
This commit is contained in:
James Tabor
2009-10-10 21:51:24 +00:00
parent ca6fbc0be9
commit 25d4d83e6b
@@ -492,7 +492,7 @@ GetW32ThreadInfo(VOID)
pci->pClientThreadInfo = NULL; // FIXME Need to set it in desktop.c!
pci->ppi = ppi;
pci->fsHooks = pti->fsHooks;
pci->hKL = pti->KeyboardLayout->hkl;
if (pti->KeyboardLayout) pci->hKL = pti->KeyboardLayout->hkl;
/* CI may not have been initialized. */
if (!pci->pDeskInfo && pti->pDeskInfo)
{