mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 09:19:39 +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
 | 
			
		||||
    SysGetShiftState:=ShiftState
 | 
			
		||||
  else
 | 
			
		||||
{$else}
 | 
			
		||||
    SysGetShiftState:=0;
 | 
			
		||||
{$endif}
 | 
			
		||||
    SysGetShiftState:=0;
 | 
			
		||||
end;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user