From 3c3c1ca896d1f9c00234d6bb326c556adb6b5f06 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sat, 19 Aug 2006 19:44:23 +0000 Subject: [PATCH] General cleanup. --- stepmania/src/NotesLoaderKSF.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/stepmania/src/NotesLoaderKSF.cpp b/stepmania/src/NotesLoaderKSF.cpp index a056f7d857..c055b32a92 100644 --- a/stepmania/src/NotesLoaderKSF.cpp +++ b/stepmania/src/NotesLoaderKSF.cpp @@ -296,13 +296,14 @@ void KSFLoader::LoadTags( const RString &str, Song &out ) vector asBits; split( str, " - ", asBits, false ); /* Ignore the difficulty, since we get that elsewhere. */ - if( asBits.size() == 3 && - (!stricmp(asBits[2], "double") || - !stricmp(asBits[2], "easy") || - !stricmp(asBits[2], "normal") || - !stricmp(asBits[2], "hard") || - !stricmp(asBits[2], "crazy") || - !stricmp(asBits[2], "nightmare")) ) + if( asBits.size() == 3 && ( + !stricmp(asBits[2], "double") || + !stricmp(asBits[2], "easy") || + !stricmp(asBits[2], "normal") || + !stricmp(asBits[2], "hard") || + !stricmp(asBits[2], "crazy") || + !stricmp(asBits[2], "nightmare")) + ) { asBits.erase( asBits.begin()+2, asBits.begin()+3 ); }