Fixes slash getting eaten when expanding 'sc2/src/msvc++/../../content' into 'sc2content'
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1832 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -490,7 +490,11 @@ expandPath (char *dest, size_t len, const char *src, int what)
|
||||
destptr = pathStart;
|
||||
}
|
||||
else
|
||||
{
|
||||
destptr = lastSlash;
|
||||
if (*endPart == '/')
|
||||
destptr++;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user