From 8aca784469a22893a98a5ba34f7bb2197ffc3a71 Mon Sep 17 00:00:00 2001 From: Allan Rae Date: Wed, 3 Apr 2002 04:13:25 +0000 Subject: [PATCH] quick fix for commented out figures git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3885 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/ChangeLog | 5 +++++ src/insets/insetgraphics.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index a309f86b3d..2a1254f92e 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,8 @@ +2002-04-03 Allan Rae + + * 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 * insetgraphic.C (latex): simplify the code for the latex diff --git a/src/insets/insetgraphics.C b/src/insets/insetgraphics.C index e133236577..609e6773e0 100644 --- a/src/insets/insetgraphics.C +++ b/src/insets/insetgraphics.C @@ -682,7 +682,7 @@ int InsetGraphics::latex(Buffer const *buf, ostream & os, else if (!message.empty()) before += ('[' + message); else if (!opts.empty()) - before += ("[%" + opts + ']'); + before += ("[" + opts + ']'); lyxerr[Debug::GRAPHICS] << "[latex]before = " << before << endl; lyxerr[Debug::GRAPHICS] << "[latex]after = " << after << endl; -- 2.39.2