The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit a4a836916b1257b215546b2b7886e009df5876a9
Author: Scott Kostyshak <[email protected]>
Date:   Sat Jan 12 16:00:52 2013 -0500

    LyXRC: escape existing quote characters in 'cmd'

diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp
index 24967a3..d9bb491 100644
--- a/src/LyXRC.cpp
+++ b/src/LyXRC.cpp
@@ -2760,7 +2760,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, 
string const & name) c
                                    || sysfmt == sysend               // format 
not found
                                         || sysfmt->second.count(cmd) == 0 // 
this command not found
                                   )
-                                       os << "\\viewer_alternatives " << fmt 
<< " \"" << cmd << "\"\n";
+                                       os << "\\viewer_alternatives " << fmt 
<< " \"" << escapeCommand(cmd) << "\"\n";
                        }
                }
                if (tag != RC_LAST)
@@ -2785,7 +2785,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, 
string const & name) c
                                    || sysfmt == sysend               // format 
not found
                                    || sysfmt->second.count(cmd) == 0 // this 
command not found
                                   )
-                                       os << "\\editor_alternatives " << fmt 
<< " \"" << cmd << "\"\n";
+                                       os << "\\editor_alternatives " << fmt 
<< " \"" << escapeCommand(cmd) << "\"\n";
                        }
                }
                if (tag != RC_LAST)

-----------------------------------------------------------------------

Summary of changes:
 src/LyXRC.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to