From d8d94cc759417d685f8241a2e0f9744c62a4eab5 Mon Sep 17 00:00:00 2001
From: divverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Date: Wed, 23 Dec 2009 15:55:04 +0000
Subject: [PATCH] turn font size snapping into a float

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9650 d7cf8633-e32d-0410-b094-e92efae38249
---
 ft2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ft2.c b/ft2.c
index 5e0462e6..43155561 100644
--- 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)
 		{
-- 
2.39.5