improve readability

This commit is contained in:
Ted Percival
2005-03-27 13:42:09 +00:00
parent 0c37abf400
commit 30b4967697
+1 -5
View File
@@ -243,12 +243,8 @@ bool ProfileManager::RenameLocalProfile( CString sProfileID, CString sNewName )
if( lr != Profile::success ) if( lr != Profile::success )
return false; return false;
pro.m_sDisplayName = sNewName; pro.m_sDisplayName = sNewName;
bool bSuccess;
bSuccess = pro.SaveAllToDir( sProfileDir, PREFSMAN->m_bSignProfileData );
if( !bSuccess )
return false;
return true; return pro.SaveAllToDir( sProfileDir, PREFSMAN->m_bSignProfileData );
} }
bool ProfileManager::DeleteLocalProfile( CString sProfileID ) bool ProfileManager::DeleteLocalProfile( CString sProfileID )