From: Richard Heck Date: Sat, 26 May 2007 17:33:52 +0000 (+0000) Subject: Change related to 18445: buffer.fileName() uses .absFilename(). X-Git-Tag: 1.6.10~9613 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=df99a5c9330fbbea9c033aae72c752bf8732bc03;p=features.git 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 --- 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! "