summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-21 12:51:20 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-21 12:51:20 +0200
commit0ab44964235f426601ebdf1592a7d41e517c3203 (patch)
treeeb95e09ee3cab9be8a2e27ae7f0d76e5478e5966
parentscript logging (diff)
downloadre3-0ab44964235f426601ebdf1592a7d41e517c3203.tar
re3-0ab44964235f426601ebdf1592a7d41e517c3203.tar.gz
re3-0ab44964235f426601ebdf1592a7d41e517c3203.tar.bz2
re3-0ab44964235f426601ebdf1592a7d41e517c3203.tar.lz
re3-0ab44964235f426601ebdf1592a7d41e517c3203.tar.xz
re3-0ab44964235f426601ebdf1592a7d41e517c3203.tar.zst
re3-0ab44964235f426601ebdf1592a7d41e517c3203.zip
-rw-r--r--src/control/Script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp
index 4eb72915..98cd6369 100644
--- a/src/control/Script.cpp
+++ b/src/control/Script.cpp
@@ -1350,7 +1350,7 @@ static void PrintToLog(const char* format, ...)
#ifdef _WIN32
vsprintf_s(tmp, 1024, format, va);
#else
- vsprintf(re3_buff, format, va);
+ vsprintf(tmp, format, va);
#endif
va_end(va);