expandPath() was only replacing the first backslash to a slash in Windows.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1177 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -309,10 +309,7 @@ expandPath (char *dest, size_t len, const char *src)
|
||||
while (*destptr != '\0')
|
||||
{
|
||||
if (*destptr == '\\')
|
||||
{
|
||||
*destptr = '/';
|
||||
break;
|
||||
}
|
||||
destptr++;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user