浏览代码

Bugfix: StringFormat was using a static temporary buffer

Jorrit Rouwe 3 年之前
父节点
当前提交
57b4824324
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;