mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 15:28:14 +02:00
LazUtils: Do not garble LazFreeType fonts. Issue #37012
git-svn-id: branches/fixes_2_0@63468 -
This commit is contained in:
parent
dd7609f0dc
commit
64908be44a
@ -141,8 +141,15 @@ var
|
||||
temp: Int64;
|
||||
begin
|
||||
temp := int64(a)*int64(b);
|
||||
if temp >= 0 then temp += c shr 1
|
||||
else temp -= c shr 1;
|
||||
if c < 0 then
|
||||
begin
|
||||
c := -c;
|
||||
temp := -temp;
|
||||
end;
|
||||
if temp >= 0 then
|
||||
temp += c shr 1
|
||||
else
|
||||
temp -= c shr 1;
|
||||
result := temp div c;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user