Source commit: eb4780bef2f8284d1657587d78404bf186a66f78
@@ -246,7 +246,7 @@ BOOL CServerPath::SetPath(CString &newpath, BOOL bIsFile /*=FALSE*/)
return FALSE;
else if (rpos!=(path.GetLength()-1) )
{
- file=file.Mid(rpos+1);
+ file=path.Mid(rpos+1);
path=path.Left(rpos+1);
}
else