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:
meep-eep
2003-09-02 21:20:49 +00:00
parent 2549c62eae
commit a46ac80fe9
+1 -4
View File
@@ -309,10 +309,7 @@ expandPath (char *dest, size_t len, const char *src)
while (*destptr != '\0')
{
if (*destptr == '\\')
{
*destptr = '/';
break;
}
*destptr = '/';
destptr++;
}
#endif