forked from rosebudai/OpenRCT2-Web
Fix #4884: Build hash info at intro is empty
Caused by a small bug in String::AppendFormat.
This commit is contained in:
1 parent
dde9fd86f2
commit
4adcbfdb8a
1 file changed
+1
-1
+1
-1
@@ -236,7 +236,7 @@ namespace String
|
||||
if (i < bufferSize - 1)
|
||||
{
|
||||
va_start(args, format);
|
||||
vsnprintf(buffer, bufferSize - i - 1, format, args);
|
||||
vsnprintf(dst, bufferSize - i - 1, format, args);
|
||||
va_end(args);
|
||||
|
||||
// Terminate buffer in case formatted string overflowed
|
||||
|
||||
Reference in new issue
Block a user