Skip to content

Commit aed39da

Browse files
committed
Really, really, really whoopsy... (sigh)
1 parent 10e6c38 commit aed39da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/ModuleManagerWatchDog/Util/SanityLib.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ orderby a.path ascending
6363
public static bool CheckIsOnGameData(string path, string filename = null)
6464
{
6565
string fullpath = Path.GetFullPath(path);
66-
string[] subpaths = Path.GetDirectoryName(fullpath).Split(Path.PathSeparator);
66+
string[] subpaths = Path.GetDirectoryName(fullpath).Split(Path.DirectorySeparatorChar);
6767
return "GameData" == subpaths[subpaths.Length-1] && (null == filename) ? true : filename == Path.GetFileName(fullpath);
6868
}
6969

0 commit comments

Comments
 (0)