Browse Source

Bugfix: StringFormat was using a static temporary buffer

Jorrit Rouwe 3 years ago
parent
commit
57b4824324
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Jolt/Core/StringTools.cpp

+ 1 - 1
Jolt/Core/StringTools.cpp

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