Use correct variable for getting buffer length, reported by Ensiform.
This commit is contained in:
1 parent
2b50313c9a
commit
b14c6d581c
1 file changed
+1
-1
@@ -1398,7 +1398,7 @@ vmInterpret_t FS_FindVM(void **startSearch, char *found, int foundlen, const cha
|
||||
if(enableDll)
|
||||
Com_sprintf(dllName, sizeof(dllName), "%s" ARCH_STRING DLL_EXT, name);
|
||||
|
||||
Com_sprintf(qvmName, sizeof(dllName), "vm/%s.qvm", name);
|
||||
Com_sprintf(qvmName, sizeof(qvmName), "vm/%s.qvm", name);
|
||||
|
||||
lastSearch = *startSearch;
|
||||
if(*startSearch == NULL)
|
||||
|
||||
Reference in new issue
Block a user