mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-05 00:29:37 +01: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
|
if is_console then
|
||||||
SysGetShiftState:=ShiftState
|
SysGetShiftState:=ShiftState
|
||||||
else
|
else
|
||||||
{$else}
|
|
||||||
SysGetShiftState:=0;
|
|
||||||
{$endif}
|
{$endif}
|
||||||
|
SysGetShiftState:=0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user