From: Uwe Stöhr Date: Tue, 19 May 2015 00:29:16 +0000 (+0200) Subject: tex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit] X-Git-Tag: 2.2.0alpha1~757 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=290e7a9e09fec5ebed1df84f696b4f72b0b4cfda;p=features.git tex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit] --- diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b3ad38c182..616233c48b 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1165,7 +1165,7 @@ void parse_box(Parser & p, ostream & os, unsigned outer_flags, os << "use_makebox 0\n"; else os << "use_makebox " << (inner_type == "makebox") << '\n'; - if (outer_type == "mbox") + if (outer_type == "mbox" || (outer_type == "fbox" && inner_type == "")) os << "width \"\"\n"; // for values like "1.5\width" LyX uses "1.5in" as width ad sets "width" as sepecial else if (contains(width_unit, '\\'))