aboutsummaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-07 00:15:18 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-07 00:15:18 +0000
commit5c101e3a76ea5809ae5b6986f2ad5317f95f19d1 (patch)
tree1b2d29e79089a133be96d8dd28e06a2597d8b291 /src/base
parent7745d3787c6ab93a1f54eaeb3475f76ac64735fd (diff)
downloadusdx-5c101e3a76ea5809ae5b6986f2ad5317f95f19d1.tar.gz
usdx-5c101e3a76ea5809ae5b6986f2ad5317f95f19d1.tar.xz
usdx-5c101e3a76ea5809ae5b6986f2ad5317f95f19d1.zip
Aller guten Dinge sind 3
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2101 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base')
-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;