[quake3-commits] r1907 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sat Mar 5 14:07:56 EST 2011
Author: thilo
Date: 2011-03-05 14:07:56 -0500 (Sat, 05 Mar 2011)
New Revision: 1907
Modified:
trunk/code/qcommon/q_shared.c
Log:
Also send empty valued system cvars, fix proposed by DevHC
Modified: trunk/code/qcommon/q_shared.c
===================================================================
--- trunk/code/qcommon/q_shared.c 2011-03-04 21:51:34 UTC (rev 1906)
+++ trunk/code/qcommon/q_shared.c 2011-03-05 19:07:56 UTC (rev 1907)
@@ -1310,6 +1310,7 @@
Info_SetValueForKey_Big
Changes or adds a key/value pair
+Includes and retains zero-length values
==================
*/
void Info_SetValueForKey_Big( char *s, const char *key, const char *value ) {
@@ -1330,7 +1331,7 @@
}
Info_RemoveKey_Big (s, key);
- if (!value || !strlen(value))
+ if (!value)
return;
Com_sprintf (newi, sizeof(newi), "\\%s\\%s", key, value);
More information about the quake3-commits
mailing list