From be6a6d76afea971757fffbbf81367abda199fa1f Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sat, 23 May 2015 10:38:31 +0200 Subject: [PATCH] InsetFloat: fix typo --- src/insets/InsetFloat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetFloat.cpp b/src/insets/InsetFloat.cpp index fd78090db6..e611a81723 100644 --- a/src/insets/InsetFloat.cpp +++ b/src/insets/InsetFloat.cpp @@ -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")) -- 2.39.5