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

summaryrefslogtreecommitdiff
path: root/source/frontend/StarSongbookInterface.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-10-02 09:07:42 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-10-02 09:07:42 +1000
commit80192714b780a09291e00cd41152abef9c249859 (patch)
treec3bc6771c031875633254a0732525d375cebf091 /source/frontend/StarSongbookInterface.cpp
parent3e8f914154b06af319ea7fffa633e0501f0e1f62 (diff)
Update StarSongbookInterface.cpp
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;