tex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit]

This commit is contained in:
Uwe Stöhr 2015-05-19 02:29:16 +02:00
parent 1ace9f5ac2
commit 290e7a9e09

View File

@ -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, '\\'))