diff options
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r-- | src/fios_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp index 1a8b49935..9880fd187 100644 --- a/src/fios_gui.cpp +++ b/src/fios_gui.cpp @@ -238,7 +238,7 @@ public: /** Generate a default save filename. */ void GenerateFileName() { - GenerateDefaultSaveName(this->edit_str_buf, &this->edit_str_buf[this->edit_str_size - 1]); + GenerateDefaultSaveName(this->text.buf, &this->text.buf[this->text.max_bytes - 1]); this->text.UpdateSize(); } |