]> git.lyx.org Git - features.git/commit
Change a warning to an error if missing include
authorScott Kostyshak <skostysh@lyx.org>
Fri, 10 Mar 2017 20:38:27 +0000 (15:38 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 11 Mar 2017 07:51:49 +0000 (02:51 -0500)
commit72c3dbd02ccd0a3b85f1c9b940462ac1e7ed98d6
treed3d5de4f9dbd4284ab6753dd69d864c6d37ef159
parent24f68aff8d2ba9139017ca3927eda1f1aaf039af
Change a warning to an error if missing include

If an included file is not found, it seems impossible that the final
output would be correct. Before this commit, when exporting on the
command line, LyX would create the PDF and exit with a zero error
code so unless the user was monitoring the terminal output, they
would not know there is a problem.

This change is consistent with 1a374a93.
src/insets/InsetInclude.cpp