[quake3-commits] r2161 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Sep 9 17:49:03 EDT 2011


Author: ztm
Date: 2011-09-09 17:49:03 -0400 (Fri, 09 Sep 2011)
New Revision: 2161

Modified:
   trunk/code/client/cl_scrn.c
Log:
Use BIGCHAR_WIDTH instead of hardcoded 16 in cl_scrn.c

Modified: trunk/code/client/cl_scrn.c
===================================================================
--- trunk/code/client/cl_scrn.c	2011-09-09 21:48:38 UTC (rev 2160)
+++ trunk/code/client/cl_scrn.c	2011-09-09 21:49:03 UTC (rev 2161)
@@ -316,7 +316,7 @@
 ** SCR_GetBigStringWidth
 */ 
 int	SCR_GetBigStringWidth( const char *str ) {
-	return SCR_Strlen( str ) * 16;
+	return SCR_Strlen( str ) * BIGCHAR_WIDTH;
 }
 
 



More information about the quake3-commits mailing list