diff options
Diffstat (limited to 'nim/options.pas')
-rwxr-xr-x | nim/options.pas | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nim/options.pas b/nim/options.pas index d03a24f2a..3a7d4a669 100755 --- a/nim/options.pas +++ b/nim/options.pas @@ -176,11 +176,8 @@ begin end; function getPrefixDir: string; -var - appdir, bin: string; begin - appdir := getApplicationDir(); - SplitPath(appdir, result, bin); + result := SplitPath(getApplicationDir()).head; end; function shortenDir(const dir: string): string; |