mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 08:51:29 +00:00
[KBDTOOL] Handle failure to parse scancodes. Patch by Víctor Martínez Calvo. CID 1341307 CORE-11177 #resolve
#comment Thanks! svn path=/trunk/; revision=71271
This commit is contained in:
parent
3b58992913
commit
5994ce5887
|
@ -917,6 +917,14 @@ DoLAYOUT(IN PLAYOUT LayoutData,
|
|||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
/* Check if we have found any ScanCode in the file */
|
||||
|
||||
if (ScanCodeCount == -1)
|
||||
{
|
||||
printf("No ScanCode found!\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* Process the scan code table */
|
||||
Entry = &LayoutData->Entry[ScanCodeCount];
|
||||
|
|
Loading…
Reference in a new issue