r1486 - trunk/code/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Mon Nov 10 04:47:31 EST 2008
Author: ludwig
Date: 2008-11-10 04:47:14 -0500 (Mon, 10 Nov 2008)
New Revision: 1486
Modified:
trunk/code/client/cl_input.c
Log:
fix variable declaration (#3849)
Modified: trunk/code/client/cl_input.c
===================================================================
--- trunk/code/client/cl_input.c 2008-11-10 09:47:02 UTC (rev 1485)
+++ trunk/code/client/cl_input.c 2008-11-10 09:47:14 UTC (rev 1486)
@@ -781,8 +781,8 @@
} else if (Q_stricmp(target, "none") == 0) {
clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0;
} else {
+ const char *ptr = target;
clc.voipTarget1 = clc.voipTarget2 = clc.voipTarget3 = 0;
- const char *ptr = target;
do {
if ((*ptr == ',') || (*ptr == '\0')) {
const int val = atoi(target);
More information about the quake3-commits
mailing list