]> git.lyx.org Git - features.git/commitdiff
quick fix for commented out figures
authorAllan Rae <rae@lyx.org>
Wed, 3 Apr 2002 04:13:25 +0000 (04:13 +0000)
committerAllan Rae <rae@lyx.org>
Wed, 3 Apr 2002 04:13:25 +0000 (04:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3885 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetgraphics.C

index a309f86b3d6f3a201feb82460d49a5b964b61054..2a1254f92e31c58cc24e81c172a5e5ad1401d16e 100644 (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>
 
        * insetgraphic.C (latex): simplify the code for the latex
index e133236577024f8b9f90f7f00f7ddf01b87b378c..609e6773e0d42a8e262ad6a0f70346279349fe7d 100644 (file)
@@ -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;