mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Change related to 18445: buffer.fileName() uses .absFilename().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c0b5fb6a80
commit
df99a5c933
@ -431,7 +431,7 @@ int InsetInclude::latex(Buffer const & buffer, odocstream & os,
|
||||
//This isn't sufficient, as the inclusion could be downstream.
|
||||
//But it'll have to do for now.
|
||||
if (isInputOrInclude(params_) &&
|
||||
buffer.fileName() == included_file.toFilesystemEncoding())
|
||||
buffer.fileName() == included_file.absFilename())
|
||||
{
|
||||
Alert::error(_("Recursive input"),
|
||||
bformat(_("Attempted to include file %1$s in itself! "
|
||||
|
Loading…
Reference in New Issue
Block a user