mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
tex2lyx/text.cpp: fix a bug I introduced with [c7a11c1d/lyxgit]
This commit is contained in:
parent
1ace9f5ac2
commit
290e7a9e09
@ -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, '\\'))
|
||||
|
Loading…
Reference in New Issue
Block a user