]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
oops, a float I meant
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Dec 2009 15:55:25 +0000 (15:55 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 23 Dec 2009 15:55:25 +0000 (15:55 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9651 d7cf8633-e32d-0410-b094-e92efae38249

ft2.c

diff --git a/ft2.c b/ft2.c
index 431555610126ef1f543da54261022488fc64a727..23b34b69a37ccf75c1e57a477175e6f279c1926c 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 (value <= r_font_size_snapping.integer)
+       if (value <= r_font_size_snapping.value)
        {
                if (outw && outh)
                {