Collapse path when reading redirects (needed for Xbox)
This commit is contained in:
@@ -515,7 +515,12 @@ CString DerefRedir(const CString &path)
|
|||||||
if(sNewFileName == "")
|
if(sNewFileName == "")
|
||||||
return "";
|
return "";
|
||||||
|
|
||||||
|
FixSlashesInPlace( sNewFileName );
|
||||||
|
|
||||||
CString path2 = sDir+sNewFileName;
|
CString path2 = sDir+sNewFileName;
|
||||||
|
|
||||||
|
CollapsePath( path2 );
|
||||||
|
|
||||||
ResolvePath( path2 );
|
ResolvePath( path2 );
|
||||||
return path2;
|
return path2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user