]> git.lyx.org Git - features.git/commitdiff
Fix stupid typo.
authorRichard Heck <rgheck@lyx.org>
Tue, 10 Jul 2012 21:11:37 +0000 (17:11 -0400)
committerRichard Heck <rgheck@lyx.org>
Tue, 10 Jul 2012 21:11:58 +0000 (17:11 -0400)
src/insets/InsetWrap.cpp

index 02a2ccdff85b3f60e1a4a9d1202a91aa8fc9f75f..79dd8065bf25a305ff56a86925728ea6fbe7eae3 100644 (file)
@@ -226,7 +226,7 @@ docstring InsetWrap::xhtml(XHTMLStream & xs, OutputParams const & rp) const
 {
        string const len = params_.width.asHTMLString();
        string const width = len.empty() ? "50%" : len;
-       string const attr = "class='wrap' style='width: " + len + ";'";
+       string const attr = "class='wrap' style='width: " + width + ";'";
        xs << html::StartTag("div", attr);
        docstring const deferred = 
                InsetText::insetAsXHTML(xs, rp, InsetText::WriteInnerTag);