#6688 test for ignore_system_lyxrc was missing for RC_PERS_DICT

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@36760 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-12-07 09:01:32 +00:00
parent 7002e1f93a
commit 5db98955ed

View File

@ -2225,6 +2225,8 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
<< convert<string>(use_tooltip)
<< '\n';
}
if (tag != RC_LAST)
break;
case RC_USE_PIXMAP_CACHE:
if (ignore_system_lyxrc ||
use_pixmap_cache != system_lyxrc.use_pixmap_cache) {
@ -2232,8 +2234,11 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
<< convert<string>(use_pixmap_cache)
<< '\n';
}
if (tag != RC_LAST)
break;
case RC_PERS_DICT:
if (isp_pers_dict != system_lyxrc.isp_pers_dict) {
if (ignore_system_lyxrc ||
isp_pers_dict != system_lyxrc.isp_pers_dict) {
string const path = os::external_path(isp_pers_dict);
os << "\\personal_dictionary \"" << path << "\"\n";
}