diff options
Diffstat (limited to 'src/os2.cpp')
-rw-r--r-- | src/os2.cpp | 2 |
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)); } } |