Parcourir la source

Fix undefined result for GetShiftState on linux non-console

git-svn-id: trunk@27135 -
pierre il y a 11 ans
Parent
commit
29cb3a19c2
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      packages/rtl-console/src/unix/keyboard.pp

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

@@ -1598,9 +1598,8 @@ begin
   if is_console then
     SysGetShiftState:=ShiftState
   else
-{$else}
-    SysGetShiftState:=0;
 {$endif}
+    SysGetShiftState:=0;
 end;