Browse Source

* don't dequeue the key event in SysPollKeyEvent for win16

git-svn-id: trunk@31867 -
nickysn 10 years ago
parent
commit
80333e8da6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl-console/src/win16/keyboard.pp

+ 1 - 1
packages/rtl-console/src/win16/keyboard.pp

@@ -142,7 +142,7 @@ begin
   if KbdBufEmpty then
   if KbdBufEmpty then
     SysPollKeyEvent:=0
     SysPollKeyEvent:=0
   else
   else
-    SysPollKeyEvent:=KbdBufDequeue;
+    SysPollKeyEvent:=KbdBuf[KbdBufTail];
 end;
 end;