Explorar el Código

* the type of key_sequence.char changed from byte to 0..127 to enforce ASCII only use

git-svn-id: branches/unicodekvm@41511 -
nickysn hace 6 años
padre
commit
2d68b7c7a9
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/rtl-console/src/unix/keyboard.pp

+ 2 - 1
packages/rtl-console/src/unix/keyboard.pp

@@ -864,7 +864,8 @@ begin
 end;
 
 type  key_sequence=packed record
-        char,scan:byte;
+        char:0..127;
+        scan:byte;
         shift:TEnhancedShiftState;
         st:string[7];
       end;