diff options
Diffstat (limited to 'lib/pure/ospaths.nim')
-rw-r--r-- | lib/pure/ospaths.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim index d9097d419..96996bba7 100644 --- a/lib/pure/ospaths.nim +++ b/lib/pure/ospaths.nim @@ -468,7 +468,7 @@ proc unixToNativePath*(path: string, drive=""): string {. elif path[0] == '.' and (path.len == 1 or path[1] == '/'): # current directory result = $CurDir - start = 2 + start = when doslikeFileSystem: 1 else: 2 else: result = "" start = 0 |