From: Jean-Marc Lasgouttes Date: Thu, 15 Apr 2010 14:45:09 +0000 (+0000) Subject: correctly escape the forward search command X-Git-Tag: 2.0.0~3467 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fe0a508b83a5f2409a04da807c7784e2ced550a5;p=lyx.git correctly escape the forward search command git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34142 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 2aa6473b34..319d21692b 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -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;