quick fix for commented out figures

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3885 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Allan Rae 2002-04-03 04:13:25 +00:00
parent 30180184cd
commit 8aca784469
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-03 Allan Rae <rae@lyx.org>
* insetgraphics.C (latex): one % too many makes living on the bleeding
edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2002-03-28 Herbert Voss <voss@lyx.org> 2002-03-28 Herbert Voss <voss@lyx.org>
* insetgraphic.C (latex): simplify the code for the latex * insetgraphic.C (latex): simplify the code for the latex

View File

@ -682,7 +682,7 @@ int InsetGraphics::latex(Buffer const *buf, ostream & os,
else if (!message.empty()) else if (!message.empty())
before += ('[' + message); before += ('[' + message);
else if (!opts.empty()) else if (!opts.empty())
before += ("[%" + opts + ']'); before += ("[" + opts + ']');
lyxerr[Debug::GRAPHICS] << "[latex]before = " << before << endl; lyxerr[Debug::GRAPHICS] << "[latex]before = " << before << endl;
lyxerr[Debug::GRAPHICS] << "[latex]after = " << after << endl; lyxerr[Debug::GRAPHICS] << "[latex]after = " << after << endl;