Update StarSongbookInterface.cpp

This commit is contained in:
Kae 2024-10-02 09:07:42 +10:00
parent 3e8f914154
commit 80192714b7

View File

@ -64,7 +64,7 @@ void SongbookInterface::refresh(bool reloadFiles) {
m_files = Root::singleton().assets()->scanExtension(".abc").values();
eraseWhere(m_files, [](String& song) {
if (!song.beginsWith(SongPathPrefix, String::CaseInsensitive)) {
Logger::warn("Song '{}' isn't in {}, ignoring", SongPathPrefix.size(), song);
Logger::warn("Song '{}' isn't in {}, ignoring", song, SongPathPrefix);
return true;
}
return false;