diff --git a/stepmania/src/CourseUtil.h b/stepmania/src/CourseUtil.h index 614fd81c16..37a22fcee4 100644 --- a/stepmania/src/CourseUtil.h +++ b/stepmania/src/CourseUtil.h @@ -45,7 +45,9 @@ public: const RString &GetPath() const { return sPath; } bool operator<( const CourseID &other ) const { - return sPath < other.sPath || sFullTitle < other.sFullTitle; + if (sPath != other.sPath) + return sPath < other.sPath; + return sFullTitle < other.sFullTitle; } XNode* CreateNode() const;