mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Windows doesn't know z in format string
This commit is contained in:
parent
5cd116d3ad
commit
0baadba7d1
1 changed files with 1 additions and 1 deletions
|
@ -1210,7 +1210,7 @@ void Cvar_Update( vmCvar_t *vmCvar ) {
|
||||||
}
|
}
|
||||||
vmCvar->modificationCount = cv->modificationCount;
|
vmCvar->modificationCount = cv->modificationCount;
|
||||||
if ( strlen(cv->string)+1 > MAX_CVAR_VALUE_STRING )
|
if ( strlen(cv->string)+1 > MAX_CVAR_VALUE_STRING )
|
||||||
Com_Error( ERR_DROP, "Cvar_Update: src %s length %zd exceeds MAX_CVAR_VALUE_STRING",
|
Com_Error( ERR_DROP, "Cvar_Update: src %s length %d exceeds MAX_CVAR_VALUE_STRING",
|
||||||
cv->string,
|
cv->string,
|
||||||
strlen(cv->string));
|
strlen(cv->string));
|
||||||
Q_strncpyz( vmCvar->string, cv->string, MAX_CVAR_VALUE_STRING );
|
Q_strncpyz( vmCvar->string, cv->string, MAX_CVAR_VALUE_STRING );
|
||||||
|
|
Loading…
Reference in a new issue