aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/base/UFont.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/UFont.pas b/src/base/UFont.pas
index 473ac23c..03918e3b 100644
--- a/src/base/UFont.pas
+++ b/src/base/UFont.pas
@@ -1170,7 +1170,7 @@ begin
WidthScale := 1;
DistSum := Dist*Dist + Dist2*Dist2;
- if DistSum > 0) then
+ if (DistSum > 0) then
begin
WidthScale := cTestSize / Sqrt(DistSum);
end;
@@ -1181,7 +1181,7 @@ begin
HeightScale := 1;
DistSum := Dist*Dist + Dist2*Dist2;
- if DistSum > 0) then
+ if (DistSum > 0) then
begin
HeightScale := cTestSize / Sqrt(DistSum);
end;