gtk2 intf: replaced exception mask with functions from math unit

git-svn-id: trunk@15785 -
This commit is contained in:
mattias 2008-07-15 17:47:30 +00:00
parent 588edd1cab
commit 1207c0e3f4

View File

@ -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;