diff --git a/src/NotesLoaderBMS.cpp b/src/NotesLoaderBMS.cpp index bb4ada5722..f2ceb79164 100644 --- a/src/NotesLoaderBMS.cpp +++ b/src/NotesLoaderBMS.cpp @@ -378,7 +378,7 @@ bool BMSSong::GetBackground( RString filename, RString path, RString &bgfile ) // FIXME: garbled file names seem to crash the app. // this might not be the best place to put this code. if( !utf8_is_valid(filename) ) - return -1; + return false; RString normalizedFilename = filename; RString dir = out->GetSongDir();