From df99a5c9330fbbea9c033aae72c752bf8732bc03 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sat, 26 May 2007 17:33:52 +0000 Subject: [PATCH] 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 --- src/insets/InsetInclude.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index e8eb7adefe..c49b76ecdd 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -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! "