Skip to content

Commit 8468be6

Browse files
committed
are you fucking kidding me
1 parent 7f470b6 commit 8468be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/MLRSongCell.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ bool MLRSongCell::init(const SongData& songData, const bool isEven) {
2828
else if (songData.type == SongType::Blacklisted) songNameLabel->setColor({128, 128, 128});
2929

3030
MusicDownloadManager* mdm = MusicDownloadManager::sharedState();
31-
if (const int songID = geode::utils::numFromString<int>(desiredFileName).unwrapOr(-1); songID > 0 && !mdm->isResourceSong(songID) && mdm->isSongDownloaded(songID) && Utils::toNormalizedString(songData.actualFilePath) == Utils::toNormalizedString(mdm->pathForSong(songID))) {
31+
if (const int songID = geode::utils::numFromString<int>(desiredFileName).unwrapOr(-1); songID > 0 && !mdm->isResourceSong(songID) && mdm->isSongDownloaded(songID) && Utils::toNormalizedString(songData.actualFilePath) == Utils::toNormalizedString(static_cast<std::string>(mdm->pathForSong(songID)))) {
3232
if (SongInfoObject* songInfoObject = mdm->getSongInfoObject(songID)) songNameLabel->setString(Utils::getFormattedNGMLSongName(songInfoObject).c_str());
3333
}
3434
songNameLabel->limitLabelWidth(356.f * .8f, .75f, .001f);

0 commit comments

Comments
 (0)