From 819735f71a2c1e4bf82dbd1cc4ff382f862c997f Mon Sep 17 00:00:00 2001 From: Patrick McCarty Date: Thu, 28 Jan 2010 18:22:39 -0800 Subject: [PATCH] Thinko in fix for #887. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scm/output-ps.scm b/scm/output-ps.scm index 5cedc80a05..5b5a21c7f3 100644 --- a/scm/output-ps.scm +++ b/scm/output-ps.scm @@ -164,8 +164,8 @@ ;; 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) -- 2.39.5