]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetBox.cpp
InsetBox.cpp: fix the LaTeX-output, fixes bug 2492 http://bugzilla.lyx.org/show_bug...
[features.git] / 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;
 }