enclosure filename might have path separators
svn: r4395
This commit is contained in:
parent
3a16b5d5f5
commit
ed8eef79a9
|
@ -2515,7 +2515,11 @@
|
|||
(send t change-style url-delta s e)))
|
||||
(when (eq? (system-type) 'macosx)
|
||||
(when fn
|
||||
(let ([full-fn (normalize-path (build-path "~/Desktop" fn))])
|
||||
(let ([full-fn (if (and (path-string? fn)
|
||||
(let-values ([(base name dir?) (split-path fn)])
|
||||
(not base)))
|
||||
(normalize-path (build-path "~/Desktop" fn))
|
||||
fn)])
|
||||
(insert " " set-standard-style)
|
||||
(insert "[save & open]"
|
||||
(lambda (t s e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user