mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
gtk2 intf: replaced exception mask with functions from math unit
git-svn-id: trunk@15785 -
This commit is contained in:
parent
588edd1cab
commit
1207c0e3f4
@ -564,7 +564,7 @@ begin
|
||||
inherited AppInit(ScreenInfo);
|
||||
{$if defined(cpui386) or defined(cpux86_64)}
|
||||
// needed otherwise some gtk theme engines crash with division by zero
|
||||
Set8087CW($133F);
|
||||
SetExceptionMask(GetExceptionMask + [exZeroDivide]);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user