From 0ed9c43453d784a81a0639f4b3ef9fb8bb6ac80b Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Thu, 7 Jul 2011 16:21:06 +0000 Subject: [PATCH] Make naming a bit more foolproof for new macro --- code/qcommon/q_shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index 1ed2bdc1..30054a4c 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -206,7 +206,7 @@ typedef int clipHandle_t; #define MIN_QINT (-MAX_QINT-1) #define ARRAY_LEN(x) (sizeof(x) / sizeof(*(x))) -#define STR_LEN(x) (ARRAY_LEN(x) - 1) +#define STRARRAY_LEN(x) (ARRAY_LEN(x) - 1) // angle indexes #define PITCH 0 // up / down