Fix last warning

This commit is contained in:
twinaphex 2019-07-19 13:42:35 +02:00
parent 10d40cc2e8
commit a92bac4cea

View File

@ -190,7 +190,7 @@ bool media_detect_cd_info(const char *path, media_detect_cd_info_t *info)
if (media_skip_spaces(&version_pos, 6))
memcpy(info->version, version_pos, 6 - (version_pos - (buf + offset + 0x2a)));
else
strlcpy(info->version, "N/A", sizeof(info->title));
strlcpy(info->version, "N/A", sizeof(info->version));
release_date_pos = buf + offset + 0x30;