Use correct variable for getting buffer length, reported by Ensiform.

This commit is contained in:
Zack Middleton 2011-09-19 02:10:17 +00:00
parent 2b50313c9a
commit b14c6d581c
1 changed files with 1 additions and 1 deletions

View File

@ -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)