mirror of
https://github.com/ioquake/ioq3.git
synced 2025-02-21 19:20:59 +00:00
Fix memset
This commit is contained in:
parent
84daa28267
commit
c2a0a7d986
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ const char *BuildShaderStateConfig(void) {
|
|||
char out[(MAX_QPATH * 2) + 5];
|
||||
int i;
|
||||
|
||||
memset(buff, 0, MAX_STRING_CHARS);
|
||||
memset(buff, 0, sizeof(buff));
|
||||
for (i = 0; i < remapCount; i++) {
|
||||
Com_sprintf(out, (MAX_QPATH * 2) + 5, "%s=%s:%5.2f@", remappedShaders[i].oldShader, remappedShaders[i].newShader, remappedShaders[i].timeOffset);
|
||||
Q_strcat( buff, sizeof( buff ), out);
|
||||
|
|
Loading…
Reference in a new issue