summaryrefslogtreecommitdiff
path: root/src/qcommon/files.c
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2011-09-19 02:10:17 +0000
committerTim Angus <tim@ngus.net>2013-01-10 23:37:53 +0000
commit0488a29057d51fe32c1b6dc106d927b934eb6976 (patch)
tree673636f16615b5c91cf26ae266a92d1bc0e97e70 /src/qcommon/files.c
parentf5cd5b22fd99536bbd0f6d4bbc8de4701ffbb73d (diff)
Use correct variable for getting buffer length, reported by Ensiform.
Diffstat (limited to 'src/qcommon/files.c')
-rw-r--r--src/qcommon/files.c2
1 files changed, 1 insertions, 1 deletions
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)