[quake3-commits] r2167 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Sep 18 22:10:17 EDT 2011


Author: ztm
Date: 2011-09-18 22:10:17 -0400 (Sun, 18 Sep 2011)
New Revision: 2167

Modified:
   trunk/code/qcommon/files.c
Log:
Use correct variable for getting buffer length, reported by Ensiform.

Modified: trunk/code/qcommon/files.c
===================================================================
--- trunk/code/qcommon/files.c	2011-09-18 18:07:57 UTC (rev 2166)
+++ trunk/code/qcommon/files.c	2011-09-19 02:10:17 UTC (rev 2167)
@@ -1398,7 +1398,7 @@
 	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)



More information about the quake3-commits mailing list