]> git.lyx.org Git - lyx.git/commit
Partial fix for bug 1474 (crashes on recursive includes) and complete fix for
authorRichard Heck <rgheck@comcast.net>
Mon, 21 May 2007 15:34:29 +0000 (15:34 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 21 May 2007 15:34:29 +0000 (15:34 +0000)
commit4318b4def216878ad878d3f0a02c884b0e0d2eb8
tree5b87399c7f2268476f2c4695cdc2496967ba1d78
parent68a71fcde1b30a3a1600da36f13941d006dc508b
Partial fix for bug 1474 (crashes on recursive includes) and complete fix for
bug 3659 (crash when file contains only an InsetInclude).

Added checks for self-inclusion. The reason this is not a complete fix is that
recursive input could arise from something other than self-inclusion. Checking
for that will be much more complicated, however.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18445 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp
src/insets/InsetInclude.cpp