1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-16 08:52:40 +01:00

(svn r26506) -Codechange: replace most of vsnprintf with vseprintf

This commit is contained in:
rubidium
2014-04-24 19:51:45 +00:00
parent fad2d3c709
commit e61fe21237
14 changed files with 25 additions and 20 deletions

View File

@@ -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();