fix loading of profile LastSong and LastCourse

This commit is contained in:
Chris Danford
2005-06-08 05:12:11 +00:00
parent 55f47ff85c
commit e70d077889
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ Course *CourseID::ToCourse() const
// Re-add the leading "/". 2005/05/21 file layer changes added a leading slash.
CString sPath2 = sPath;
if( sPath2.Left(1) != "/" )
sPath2.erase( sPath2.begin() );
sPath2 = "/" + sPath2;
if( !sPath2.empty() )
{