From 80192714b780a09291e00cd41152abef9c249859 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 2 Oct 2024 09:07:42 +1000 Subject: [PATCH] Update StarSongbookInterface.cpp --- source/frontend/StarSongbookInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/frontend/StarSongbookInterface.cpp b/source/frontend/StarSongbookInterface.cpp index 0c5fa4a..fa9a7c4 100644 --- a/source/frontend/StarSongbookInterface.cpp +++ b/source/frontend/StarSongbookInterface.cpp @@ -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;