Fixed keystacking conflicts

This commit is contained in:
Ianos Gnatiuc
2005-11-27 20:13:48 +00:00
parent 8d7ce0cd0b
commit bb0d42bbc2
6 changed files with 55 additions and 23 deletions

View File

@@ -1618,7 +1618,17 @@ void clearkeys() {
// ------------------------------------------------------------------
// Puts a keystroke into the CXL keyboard "buffer"
int kbput(gkey xch) {
bool gKeystacking = false;
int kbput(gkey xch)
{
if (gKeystacking)
{
if (gkbd.kbuf != NULL)
return -1;
gKeystacking = false;
}
KBuf* kbuf;
KBuf* temp;