fixes a recently introduced regression

This commit is contained in:
Araq 2014-09-16 22:49:10 +02:00
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