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;
|
destptr = pathStart;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
destptr = lastSlash;
|
destptr = lastSlash;
|
||||||
|
if (*endPart == '/')
|
||||||
|
destptr++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user