]> git.lyx.org Git - features.git/commitdiff
Fix bug 2546:
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 27 Apr 2006 06:56:04 +0000 (06:56 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Thu, 27 Apr 2006 06:56:04 +0000 (06:56 +0000)
* src/tex2lyx/text.C
(parse_arguments): Eat space in front of required arguments

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13753 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/text.C

index 07753e9104dc0c7bf3de44877484145d4b9f723b..3e3a3d3afb42ade7b7005d437fb0501033b95b5c 100644 (file)
@@ -536,6 +536,7 @@ void parse_arguments(string const & command,
                case required:
                        // This argument contains regular LaTeX
                        handle_ert(os, ert + '{', context);
+                       eat_whitespace(p, os, context, false);
                        parse_text(p, os, FLAG_ITEM, outer, context);
                        ert = "}";
                        break;