Sfoglia il codice sorgente

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

git-svn-id: branches/unicodekvm@41511 -
nickysn 6 anni fa
parent
commit
2d68b7c7a9
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;