Use "empty" instead of "invalid" in an error message related to downloading
This commit is contained in:
parent
01e27d16dd
commit
148fa9bbd9
@ -442,7 +442,7 @@ void Utils::DownloadSong(std::string fileId, std::string uri, std::string key, s
|
|||||||
|
|
||||||
if (songInfo->title.empty() || songInfo->artist.empty() || songInfo->album.empty())
|
if (songInfo->title.empty() || songInfo->artist.empty() || songInfo->album.empty())
|
||||||
{
|
{
|
||||||
std::cout << "Error: Invalid title/artist/album name!" << std::endl;
|
std::cout << "Error: Empty title/artist/album name!" << std::endl;
|
||||||
delete songInfo;
|
delete songInfo;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user