]> git.lyx.org Git - features.git/commitdiff
Fix bug #6474: Tex2lyx skips all spaces in the preamble.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 11 Mar 2010 16:56:41 +0000 (16:56 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 11 Mar 2010 16:56:41 +0000 (16:56 +0000)
Partially reverting r30113.

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

src/tex2lyx/preamble.cpp

index 4bb1770367ca1087cf9c7f0f246ea948a18f1776..bd495abc36a4543759b184fc1a86b9515810d004 100644 (file)
@@ -869,9 +869,6 @@ void parse_preamble(Parser & p, ostream & os,
 
                else if (!t.cs().empty() && !in_lyx_preamble)
                        h_preamble << '\\' << t.cs();
-
-               // remove the whitespace
-               p.skip_spaces();
        }
 
        // remove the whitespace