From 5c101e3a76ea5809ae5b6986f2ad5317f95f19d1 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 7 Feb 2010 00:15:18 +0000 Subject: Aller guten Dinge sind 3 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2101 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/base/UFont.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3