mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Correctly interpret return value of LyXRC::read(FileName const & filename, bool check_format)
This commit is contained in:
parent
322f11137a
commit
b7082f2d29
@ -460,7 +460,7 @@ LyXRC::ReturnValues LyXRC::read(Lexer & lexrc, bool check_format)
|
||||
FileName const tmp =
|
||||
libFileSearch(string(),
|
||||
lexrc.getString());
|
||||
if (read(tmp, check_format)) {
|
||||
if (!read(tmp, check_format)) {
|
||||
lexrc.printError(
|
||||
"Error reading included file: " + tmp.absFileName());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user