From: Vincent van Ravesteijn Date: Thu, 11 Mar 2010 16:56:41 +0000 (+0000) Subject: Fix bug #6474: Tex2lyx skips all spaces in the preamble. X-Git-Tag: 2.0.0~3830 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b9b872f36abe898d35ae7e3f7e11d47e9df1d4bd;p=features.git Fix bug #6474: Tex2lyx skips all spaces in the preamble. Partially reverting r30113. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33711 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/tex2lyx/preamble.cpp b/src/tex2lyx/preamble.cpp index 4bb1770367..bd495abc36 100644 --- a/src/tex2lyx/preamble.cpp +++ b/src/tex2lyx/preamble.cpp @@ -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