From 9c00df41122cb1a6a2db14c0c495c8e92d8f9498 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Mon, 17 Jan 2011 14:59:59 +0000 Subject: [PATCH] Thanks, Vincent. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37240 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LyX.cpp b/src/LyX.cpp index 5ece3e6315..697d8986ef 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -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; }