]> git.donarmstrong.com Git - lilypond.git/commitdiff
Thinko in fix for #887.
authorPatrick McCarty <pnorcks@gmail.com>
Fri, 29 Jan 2010 02:22:39 +0000 (18:22 -0800)
committerPatrick McCarty <pnorcks@gmail.com>
Fri, 29 Jan 2010 02:23:49 +0000 (18:23 -0800)
ly:string-substitute must be called on the filename before
ly:string-percent-encode to properly substitute forward slashes for
backslashes.

scm/output-ps.scm

index 5cedc80a05d36bdebc8f333f134632a7cc2439d2..5b5a21c7f326c29554f7bd896db4b2084605c82e 100644 (file)
 
                             ;; Backslashes are not valid
                             ;; file URI path separators.
-                            (ly:string-substitute
-                              "\\" "/" (ly:string-percent-encode file))
+                            (ly:string-percent-encode
+                              (ly:string-substitute "\\" "/" file))
 
                             (cadr location)
                             (caddr location)