From a3dfd2f10bfc1c07a6a569a63f33be246ee31924 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Sun, 13 Jan 2008 14:41:49 +0000 Subject: [PATCH] InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug.cgi?id=2492 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22540 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/insets/InsetBox.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/insets/InsetBox.cpp b/src/insets/InsetBox.cpp index c12b405aaf..cd4a1d62b8 100644 --- a/src/insets/InsetBox.cpp +++ b/src/insets/InsetBox.cpp @@ -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; } -- 2.39.2