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
This commit is contained in:
Uwe Stöhr 2008-01-13 14:41:49 +00:00
parent b7e0ac3e7b
commit a3dfd2f10b

View 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;
}