Embedding: fix a crash when extracting InsetInclude

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22449 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2008-01-09 05:11:16 +00:00
parent b5153b3d26
commit 7ecfcc9108

View File

@ -910,7 +910,7 @@ void InsetInclude::updateEmbeddedFile(Buffer const & buf,
{ {
InsetCommandParams p = params(); InsetCommandParams p = params();
p["filename"] = from_utf8(file.outputFilename()); p["filename"] = from_utf8(file.outputFilename());
p["embedded"] = file.embedded() ? _("true") : _("false"); p["embed"] = file.embedded() ? _("true") : _("false");
set(p, buf); set(p, buf);
} }