From 0488a29057d51fe32c1b6dc106d927b934eb6976 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 19 Sep 2011 02:10:17 +0000 Subject: Use correct variable for getting buffer length, reported by Ensiform. --- src/qcommon/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qcommon/files.c') diff --git a/src/qcommon/files.c b/src/qcommon/files.c index 0d23cb4c..94779b90 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1360,7 +1360,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) -- cgit