lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use our own ~s ly:format placeholder, since guile is broken with wid


From: ian
Subject: Re: Use our own ~s ly:format placeholder, since guile is broken with wide chars
Date: Sat, 22 Aug 2009 12:29:58 +0000

If we're covering shell variables for Windows, like $ for *ix, we'd need
to escape "%" character, too.
That way we'd handle cmd variables like %HOME% or %PATH%.


http://codereview.appspot.com/109070/diff/15/16
File lily/general-scheme.cc (right):

http://codereview.appspot.com/109070/diff/15/16#newcode440
Line 440: replace_all (&s, "$", "\\$");
You would need to add
replace_all (&s, "%", "\\%");
to cover the similar case to "$" for Windows (shell variable
substituion)

http://codereview.appspot.com/109070




reply via email to

[Prev in Thread] Current Thread [Next in Thread]