turn font size snapping into a float
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Dec 2009 15:55:04 +0000 (15:55 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Dec 2009 15:55:04 +0000 (15:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9650 d7cf8633-e32d-0410-b094-e92efae38249

ft2.c

diff --git a/ft2.c b/ft2.c
index 5e0462e..4315556 100644 (file)
--- a/ft2.c
+++ b/ft2.c
@@ -601,7 +601,7 @@ int Font_IndexForSize(ft2_font_t *font, float _fsize, float *outw, float *outh)
                                break;
                }
        }
-       if (r_font_size_snapping.integer && value <= 1)
+       if (value <= r_font_size_snapping.integer)
        {
                if (outw && outh)
                {