Skip to content

Commit 439b35f

Browse files
committed
Use Path.PathSeparator rather than :
1 parent 509be52 commit 439b35f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unity/alc-wrapper/test.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void AddPath(string inpaths, bool isSystemPath)
5959
#if DEBUG_ALC_WRAPPER
6060
Console.WriteLine($"[ALCWrapper:#{id}] AddPath {inpaths} isSystemPath {isSystemPath}");
6161
#endif
62-
foreach (var p in inpaths.Split(":"))
62+
foreach (var p in inpaths.Split(Path.PathSeparator))
6363
(isSystemPath ? systemPaths : userPaths).Add(p);
6464
}
6565

0 commit comments

Comments
 (0)