correctly escape the forward search command

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34142 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2010-04-15 14:45:09 +00:00
parent 837ef10312
commit fe0a508b83

View File

@ -1860,7 +1860,7 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
case RC_FORWARD_SEARCH:
if (ignore_system_lyxrc ||
forward_search != system_lyxrc.forward_search) {
os << "\\forward_search \"" << forward_search << "\"\n";
os << "\\forward_search \"" << escapeCommand(forward_search) << "\"\n";
}
if (tag != RC_LAST)
break;