From fc02802bde00c6e616ccbaea8a93e40b3dbaa895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Matox?= Date: Mon, 23 Aug 2004 11:02:20 +0000 Subject: [PATCH] fix reading the author field. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8962 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 4 ++++ src/bufferparams.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c3edb49d08..7fe5477698 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2004-08-23 José Matos + + * bufferparams.C (readToken): fix reading of the author field. + 2004-08-20 José Matos * lyxrc.C: remove support/translator.h inclusion since it is not used. diff --git a/src/bufferparams.C b/src/bufferparams.C index da933c112b..0838bf8e00 100644 --- a/src/bufferparams.C +++ b/src/bufferparams.C @@ -391,7 +391,7 @@ string const BufferParams::readToken(LyXLex & lex, string const & token) } } } else if (token == "\\author") { - lex.next(); + lex.eatLine(); istringstream ss(lex.getString()); Author a; ss >> a;