From 60423c5a1883d4f086e2292a62a858144d1d4337 Mon Sep 17 00:00:00 2001 From: tma Date: Sun, 15 Jan 2006 15:30:52 +0000 Subject: * Fix to a stupid bug I introduced whilst trying to be clever git-svn-id: svn://svn.icculus.org/quake3/trunk@485 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'code/qcommon') diff --git a/code/qcommon/common.c b/code/qcommon/common.c index c0baaf5..f89aa33 100644 --- a/code/qcommon/common.c +++ b/code/qcommon/common.c @@ -40,9 +40,10 @@ int demo_protocols[] = #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]; -- cgit v1.2.3