From 297647affeca558e19899191089af35ba31db8ac Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 16 Sep 2014 22:49:10 +0200 Subject: [PATCH] fixes a recently introduced regression --- compiler/options.nim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compiler/options.nim b/compiler/options.nim index 9d7df2f2bc..838f99f8e1 100644 --- a/compiler/options.nim +++ b/compiler/options.nim @@ -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