(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible

This commit is contained in:
skidd13
2008-11-02 11:20:15 +00:00
parent c03e55b32a
commit 706dd0f86c
23 changed files with 85 additions and 85 deletions

View File

@@ -548,7 +548,7 @@ static char *MakeScreenshotName(const char *ext)
size_t len;
if (_game_mode == GM_EDITOR || _game_mode == GM_MENU || _local_company == COMPANY_SPECTATOR) {
ttd_strlcpy(_screenshot_name, "screenshot", lengthof(_screenshot_name));
strecpy(_screenshot_name, "screenshot", lastof(_screenshot_name));
} else {
SetDParam(0, _local_company);
SetDParam(1, _date);