From cd2645fe36b13fc9b96397c1df1c906535619a07 Mon Sep 17 00:00:00 2001 From: Thad Ward Date: Sun, 30 Oct 2005 09:45:04 +0000 Subject: [PATCH] fix blowup when a KSF file has a #TITLE tag with nothing in it. (grr) --- stepmania/src/NotesLoaderKSF.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/NotesLoaderKSF.cpp b/stepmania/src/NotesLoaderKSF.cpp index c26dccd2e4..aee3ccfce6 100644 --- a/stepmania/src/NotesLoaderKSF.cpp +++ b/stepmania/src/NotesLoaderKSF.cpp @@ -248,7 +248,7 @@ void KSFLoader::LoadTags( const CString &str, Song &out ) artist = asBits[0]; title = asBits[1]; } - else + else if( asBits.size() == 1 ) { title = asBits[0]; }