Author: uwestoehr
Date: Sun Nov 6 23:46:30 2011
New Revision: 40152
URL: http://www.lyx.org/trac/changeset/40152
Log:
tex2lyx/text.cpp: add a comment and fix a typo
Modified:
lyx-devel/trunk/src/tex2lyx/text.cpp
Modified: lyx-devel/trunk/src/tex2lyx/text.cpp
==============================================================================
--- lyx-devel/trunk/src/tex2lyx/text.cpp Sun Nov 6 23:42:51 2011
(r40151)
+++ lyx-devel/trunk/src/tex2lyx/text.cpp Sun Nov 6 23:46:30 2011
(r40152)
@@ -798,6 +798,7 @@
latex_width = p.verbatim_item();
// if e.g. only \ovalbox{content} was used, set the width to
1\columnwidth
// as this is LyX's standard for such cases (except for makebox)
+ // \framebox is more special and handled below
if (latex_width.empty() && inner_type != "makebox"
&& outer_type != "framebox")
latex_width = "1\\columnwidth";
@@ -842,7 +843,7 @@
}
p.popPosition();
}
- // if only \makebox{content} was used we can its width to 1\width
+ // if only \makebox{content} was used we can set its width to 1\width
// because this identic and also identic to \mbox
// this doesn't work for \framebox{content}, thus we have to use ERT
for this
if (latex_width.empty() && inner_type == "makebox") {