forked from mirror/OpenTTD
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
This commit is contained in:
@@ -565,7 +565,7 @@ public:
|
||||
}
|
||||
if (_saveload_mode == SLD_SAVE_GAME || _saveload_mode == SLD_SAVE_SCENARIO) {
|
||||
/* Copy clicked name to editbox */
|
||||
ttd_strlcpy(this->text.buf, file->title, this->text.maxsize);
|
||||
ttd_strlcpy(this->text.buf, file->title, this->text.max_bytes);
|
||||
UpdateTextBufferSize(&this->text);
|
||||
this->SetWidgetDirty(SLWW_SAVE_OSK_TITLE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user