mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 03:56:43 +00:00
(svn r26506) -Codechange: replace most of vsnprintf with vseprintf
This commit is contained in:
@@ -400,7 +400,7 @@ struct NewGRFInspectWindow : Window {
|
||||
|
||||
va_list va;
|
||||
va_start(va, format);
|
||||
vsnprintf(buf, lengthof(buf), format, va);
|
||||
vseprintf(buf, lastof(buf), format, va);
|
||||
va_end(va);
|
||||
|
||||
offset -= this->vscroll->GetPosition();
|
||||
|
||||
Reference in New Issue
Block a user