adjust framework get and put file functions to use simple-form-path instead
of normalize-path (I'm unsure of the ramifications of this change ...)
This commit is contained in:
parent
1d13d1399c
commit
6823941080
|
@ -46,7 +46,7 @@
|
||||||
[f (put-file prompt parent-win directory name
|
[f (put-file prompt parent-win directory name
|
||||||
(default-extension) style (default-filters))])
|
(default-extension) style (default-filters))])
|
||||||
(and f (or (not filter) (filter-match? filter f filter-msg))
|
(and f (or (not filter) (filter-match? filter f filter-msg))
|
||||||
(let* ([f (normal-case-path (normalize-path f))]
|
(let* ([f (normal-case-path (simple-form-path f))]
|
||||||
[dir (path-only f)]
|
[dir (path-only f)]
|
||||||
[name (file-name-from-path f)])
|
[name (file-name-from-path f)])
|
||||||
(cond
|
(cond
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
(message-box (string-constant error)
|
(message-box (string-constant error)
|
||||||
(string-constant file-dne))
|
(string-constant file-dne))
|
||||||
#f]
|
#f]
|
||||||
[else (normalize-path f)])))))
|
[else (simple-form-path f)])))))
|
||||||
|
|
||||||
(define-syntax-rule
|
(define-syntax-rule
|
||||||
(define/rename id exp)
|
(define/rename id exp)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user