Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarSongbookInterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarSongbookInterface.cpp')
-rw-r--r--source/frontend/StarSongbookInterface.cpp2
1 files changed, 1 insertions, 1 deletions
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;