r485 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jan 15 10:30:52 EST 2006


Author: tma
Date: 2006-01-15 10:30:52 -0500 (Sun, 15 Jan 2006)
New Revision: 485

Modified:
   trunk/code/qcommon/common.c
Log:
* Fix to a stupid bug I introduced whilst trying to be clever


Modified: trunk/code/qcommon/common.c
===================================================================
--- trunk/code/qcommon/common.c	2006-01-15 15:22:13 UTC (rev 484)
+++ trunk/code/qcommon/common.c	2006-01-15 15:30:52 UTC (rev 485)
@@ -40,9 +40,10 @@
 #define MIN_COMHUNKMEGS		56
 #define DEF_COMHUNKMEGS		64
 #define DEF_COMZONEMEGS		24
+#define XSTRING(x)				STRING(x)
 #define STRING(x)					#x
-#define DEF_COMHUNKMEGS_S	STRING(DEF_COMHUNKMEGS)
-#define DEF_COMZONEMEGS_S	STRING(DEF_COMZONEMEGS)
+#define DEF_COMHUNKMEGS_S	XSTRING(DEF_COMHUNKMEGS)
+#define DEF_COMZONEMEGS_S	XSTRING(DEF_COMZONEMEGS)
 
 int		com_argc;
 char	*com_argv[MAX_NUM_ARGVS+1];




More information about the quake3-commits mailing list