From 9b282b3e51864af68b752831f68d719e9926c206 Mon Sep 17 00:00:00 2001 From: skidd13 Date: Sun, 2 Nov 2008 11:20:15 +0000 Subject: (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible --- src/os2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os2.cpp') 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)); } } -- cgit v1.2.3-70-g09d2