fixes a recently introduced regression

This commit is contained in:
Araq
2014-09-16 22:49:10 +02:00
parent 113a1c450c
commit 297647affe

View File

@@ -188,9 +188,8 @@ proc getPrefixDir*(): string =
result = splitPath(getAppDir()).head
proc canonicalizePath*(path: string): string =
#result = path.expandFilename
when not FileSystemCaseSensitive: result = path.toLower
else: result = path
when not FileSystemCaseSensitive: result = path.expandFilename.toLower
else: result = path.expandFilename
proc shortenDir*(dir: string): string =
## returns the interesting part of a dir