mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed crash when pressing a key while booting up
svn path=/trunk/; revision=6734
This commit is contained in:
parent
7531504712
commit
11cfdfc881
1 changed files with 6 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: hotkey.c,v 1.3 2003/11/11 22:17:18 weiden Exp $
|
||||
/* $Id: hotkey.c,v 1.4 2003/11/20 22:28:49 weiden Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -74,6 +74,11 @@ GetHotKey (PWINSTATION_OBJECT WinStaObject,
|
|||
{
|
||||
PLIST_ENTRY Entry;
|
||||
PHOT_KEY_ITEM HotKeyItem;
|
||||
|
||||
if(!WinStaObject)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
ExAcquireFastMutex (&WinStaObject->HotKeyListLock);
|
||||
|
||||
|
|
Loading…
Reference in a new issue