From cbf5cd9ae812dcdcfc65da44b28d356131c40169 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 11 Jan 2011 21:40:57 +0000 Subject: [PATCH] fix a data type in Font_IndexForSize git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10695 d7cf8633-e32d-0410-b094-e92efae38249 --- ft2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ft2.c b/ft2.c index 790f7998..b6a72513 100644 --- a/ft2.c +++ b/ft2.c @@ -799,8 +799,8 @@ static qboolean Font_LoadSize(ft2_font_t *font, float size, qboolean check_only) int Font_IndexForSize(ft2_font_t *font, float _fsize, float *outw, float *outh) { int match = -1; - int value = 1000000; - int nval; + float value = 1000000; + float nval; int matchsize = -10000; int m; float fsize_x, fsize_y; -- 2.39.2