mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
Thanks, Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37240 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fb377c31df
commit
9c00df4112
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user