util/TruncateString: rename CopyString() to CopyTruncateString()

This commit is contained in:
Max Kellermann
2017-07-05 17:15:58 +02:00
parent 4b94ae8040
commit dad7d7e798
6 changed files with 8 additions and 8 deletions

View File

@@ -143,7 +143,7 @@ parse_cdio_uri(struct cdio_uri *dest, const char *src)
const char *slash = strrchr(src, '/');
if (slash == nullptr) {
/* play the whole CD in the specified drive */
CopyString(dest->device, src, sizeof(dest->device));
CopyTruncateString(dest->device, src, sizeof(dest->device));
dest->track = -1;
return true;
}