mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 15:32:11 +02:00
Fix undefined result for GetShiftState on linux non-console
git-svn-id: trunk@27135 -
This commit is contained in:
parent
76e5970993
commit
29cb3a19c2
@ -1598,9 +1598,8 @@ begin
|
||||
if is_console then
|
||||
SysGetShiftState:=ShiftState
|
||||
else
|
||||
{$else}
|
||||
SysGetShiftState:=0;
|
||||
{$endif}
|
||||
SysGetShiftState:=0;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user