fix local profile switching stuck if current local profileID doesn't exist
fix local profile loading broken because dir missing trailing slash
This commit is contained in:
@@ -794,6 +794,8 @@ ProfileLoadResult Profile::LoadAllFromDir( CString sDir, bool bRequireSignature
|
||||
|
||||
LOG->Trace( "Profile::LoadAllFromDir( %s )", sDir.c_str() );
|
||||
|
||||
ASSERT( sDir.Right(1) == "/" );
|
||||
|
||||
InitAll();
|
||||
|
||||
// Not critical if this fails
|
||||
|
||||
Reference in New Issue
Block a user