소스 검색

Fix undefined result for GetShiftState on linux non-console

git-svn-id: trunk@27135 -
pierre 11 년 전
부모
커밋
29cb3a19c2
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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;