2
0
Эх сурвалжийг харах

Bugfix: StringFormat was using a static temporary buffer

Jorrit Rouwe 3 жил өмнө
parent
commit
57b4824324

+ 1 - 1
Jolt/Core/StringTools.cpp

@@ -13,7 +13,7 @@ JPH_NAMESPACE_BEGIN
 
 
 string StringFormat(const char *inFMT, ...)
 string StringFormat(const char *inFMT, ...)
 {
 {
-	static char buffer[1024];
+	char buffer[1024];
 
 
 	// Format the string
 	// Format the string
 	va_list list;
 	va_list list;