Author: jimtabor
Date: Sat Oct 10 23:51:24 2009
New Revision: 43366
URL:
http://svn.reactos.org/svn/reactos?rev=43366&view=rev
Log:
- Fix exception. Spotted by Stefan Ginsberg.
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/misc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/misc.c [iso-8859-1] Sat Oct 10 23:51:24
2009
@@ -492,7 +492,7 @@
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)
{