mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Fix #4884: Build hash info at intro is empty
Caused by a small bug in String::AppendFormat.
This commit is contained in:
@@ -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