]> git.lyx.org Git - features.git/commitdiff
InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug...
authorUwe Stöhr <uwestoehr@web.de>
Sun, 13 Jan 2008 14:41:49 +0000 (14:41 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sun, 13 Jan 2008 14:41:49 +0000 (14:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22540 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/InsetBox.cpp

index c12b405aaf697b4ce9e9c04cd03c2cbc59e4983f..cd4a1d62b80619d4632d3ff7c522d4f4170db031 100644 (file)
@@ -276,7 +276,7 @@ int InsetBox::latex(Buffer const & buf, odocstream & os,
                        width_string += " - 2\\fboxsep - 2\\fboxrule"/* "-\\shadowsize"*/;
                        break;
                case Doublebox:
-                       width_string += " - 2\\fboxsep - 7.5\\fboxrule - 1.0pt";
+                       width_string += " - 2\\fboxsep - 7.5\\fboxrule - 1pt";
                        break;
                }
        }
@@ -402,9 +402,8 @@ int InsetBox::latex(Buffer const & buf, odocstream & os,
                // already done
                break;
        }
-       os << "%\n";
 
-       i += 3;
+       i += 2;
 
        return i;
 }