(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive

This commit is contained in:
rubidium
2010-12-05 22:21:37 +00:00
parent 9139a6c858
commit bbaa262b0d
6 changed files with 68 additions and 65 deletions

View File

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