summaryrefslogtreecommitdiff
path: root/src/os2.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-11-02 11:20:15 +0000
committerskidd13 <skidd13@openttd.org>2008-11-02 11:20:15 +0000
commit9b282b3e51864af68b752831f68d719e9926c206 (patch)
tree852231dcb9853107b3876ca33a89cbeb47f20133 /src/os2.cpp
parent44a774a2775bfdbf270eac3adcd778e1ae4cba93 (diff)
downloadopenttd-9b282b3e51864af68b752831f68d719e9926c206.tar.xz
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
Diffstat (limited to 'src/os2.cpp')
-rw-r--r--src/os2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os2.cpp b/src/os2.cpp
index 704ffe4a7..8ace477eb 100644
--- a/src/os2.cpp
+++ b/src/os2.cpp
@@ -75,7 +75,7 @@ void FiosGetDrives()
#else
snprintf(fios->name, lengthof(fios->name), "%c:", disk);
#endif
- ttd_strlcpy(fios->title, fios->name, lengthof(fios->title));
+ strecpy(fios->title, fios->name, lastof(fios->title));
}
}