mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-12 23:44:21 +00:00
Also send empty valued system cvars, fix proposed by DevHC
This commit is contained in:
parent
2e2e54e3c5
commit
3639108763
1 changed files with 2 additions and 1 deletions
|
@ -1310,6 +1310,7 @@ void Info_SetValueForKey( char *s, const char *key, const char *value ) {
|
||||||
Info_SetValueForKey_Big
|
Info_SetValueForKey_Big
|
||||||
|
|
||||||
Changes or adds a key/value pair
|
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 ) {
|
void Info_SetValueForKey_Big( char *s, const char *key, const char *value ) {
|
||||||
|
@ -1330,7 +1331,7 @@ void Info_SetValueForKey_Big( char *s, const char *key, const char *value ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Info_RemoveKey_Big (s, key);
|
Info_RemoveKey_Big (s, key);
|
||||||
if (!value || !strlen(value))
|
if (!value)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Com_sprintf (newi, sizeof(newi), "\\%s\\%s", key, value);
|
Com_sprintf (newi, sizeof(newi), "\\%s\\%s", key, value);
|
||||||
|
|
Loading…
Reference in a new issue