summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-05 22:21:37 +0000
committerrubidium <rubidium@openttd.org>2010-12-05 22:21:37 +0000
commitbbaa262b0db6cf3b9ba942e0d0018ea403224c09 (patch)
tree9b2538ab42d2a5b58d4b346565264c40ad331d39 /src/fios_gui.cpp
parent9139a6c858a6af95e2fd9a1abacec520c62a8bd0 (diff)
downloadopenttd-bbaa262b0db6cf3b9ba942e0d0018ea403224c09.tar.xz
(svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 261a2dad4..dafae596c 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -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);
}