(svn r26511) -Codechange: use strecpy in game_text

This commit is contained in:
rubidium
2014-04-25 17:43:09 +00:00
parent 6ad6845f8c
commit 5e90054f20
4 changed files with 7 additions and 7 deletions

View File

@@ -821,7 +821,7 @@ void StringReader::ParseFile()
strecpy(_lang.digit_decimal_separator, ".", lastof(_lang.digit_decimal_separator));
_cur_line = 1;
while (this->ReadLine(buf, sizeof(buf)) != NULL) {
while (this->ReadLine(buf, lastof(buf)) != NULL) {
rstrip(buf);
this->HandleString(buf);
_cur_line++;