From b4898caac4f9260ad77e879a32c90ea94a14d71c Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sun, 15 Jan 2006 15:30:52 +0000 Subject: [PATCH] * Fix to a stupid bug I introduced whilst trying to be clever --- code/qcommon/common.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/qcommon/common.c b/code/qcommon/common.c index c0baaf54..f89aa33b 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];