From fdf614ddc0d93831a8df3f8ad10f019da4bd2dd6 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Tue, 9 Sep 2003 09:15:02 +0000 Subject: [PATCH] fix changing from a profile to none (still not completely fixed) --- stepmania/src/ProfileManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ProfileManager.cpp b/stepmania/src/ProfileManager.cpp index f65528a8a7..93698c6f5b 100644 --- a/stepmania/src/ProfileManager.cpp +++ b/stepmania/src/ProfileManager.cpp @@ -71,7 +71,10 @@ void ProfileManager::TryLoadProfile( PlayerNumber pn ) { CString sProfile = PREFSMAN->m_sDefaultProfile[pn]; if( sProfile.empty() ) + { + m_sProfileDir[pn] = ""; return; + } if( !DoesProfileExist(sProfile) ) {