Thanks, Vincent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2011-01-17 14:59:59 +00:00
parent fb377c31df
commit 9c00df4112

View File

@ -967,7 +967,7 @@ bool LyX::readRcFile(string const & name)
FileName const lyxrc_path = libFileSearch(string(), name);
if (!lyxrc_path.empty()) {
LYXERR(Debug::INIT, "Found in " << lyxrc_path);
if (lyxrc.read(lyxrc_path) < 0) {
if (lyxrc.read(lyxrc_path) != LyXRC::ReadOK) {
showFileError(name);
return false;
}