]> git.lyx.org Git - features.git/commitdiff
InsetFloat: fix typo
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 23 May 2015 08:38:31 +0000 (10:38 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 23 May 2015 08:38:31 +0000 (10:38 +0200)
src/insets/InsetFloat.cpp

index fd78090db6522044ec21656e5708aeb0e223211c..e611a81723d4dea28cdc5d8d22fb0ae0ee0f8079 100644 (file)
@@ -360,7 +360,7 @@ void InsetFloat::latex(otexstream & os, OutputParams const & runparams_in) const
        string tmptype = params_.type;
        if (params_.sideways && floats.allowsSideways(params_.type))
                tmptype = "sideways" + params_.type;
-       if (params_.wide && floats.allowsSideways(params_.type)
+       if (params_.wide && floats.allowsWide(params_.type)
                && (!params_.sideways ||
                     params_.type == "figure" ||
                     params_.type == "table"))