summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);