The branch, master, has been updated. - Log -----------------------------------------------------------------
commit d8611f25f2fe869518f32c74492da07d33f34e12 Author: Uwe Stöhr <uwesto...@lyx.org> Date: Fri Jul 6 23:35:33 2012 +0200 tex2lyx: remove some superfluous code text.cpp: besides that eat_whitespace does nothing these calls would be wrong as whitespace is allowed as argument of the box commands diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index cebc6fb..0d1a3d0 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -3909,7 +3909,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, arg += p.getFullOpt(); eat_whitespace(p, os, context, false); handle_ert(os, arg + '{', context); - eat_whitespace(p, os, context, false); parse_text(p, os, FLAG_ITEM, outer, context); handle_ert(os, "}", context); } else { @@ -3922,7 +3921,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, else { eat_whitespace(p, os, context, false); handle_ert(os, "\\framebox{", context); - eat_whitespace(p, os, context, false); parse_text(p, os, FLAG_ITEM, outer, context); handle_ert(os, "}", context); } @@ -3939,7 +3937,6 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer, arg += p.getFullOpt(); eat_whitespace(p, os, context, false); handle_ert(os, arg + '{', context); - eat_whitespace(p, os, context, false); parse_text(p, os, FLAG_ITEM, outer, context); handle_ert(os, "}", context); } else ----------------------------------------------------------------------- Summary of changes: src/tex2lyx/text.cpp | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) hooks/post-receive -- The LyX Source Repository