fix reading the author field.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8962 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
José Matox 2004-08-23 11:02:20 +00:00
parent 25aca51d9a
commit fc02802bde
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-08-23 José Matos <jamatos@lyx.org>
* bufferparams.C (readToken): fix reading of the author field.
2004-08-20 José Matos <jamatos@lyx.org>
* lyxrc.C: remove support/translator.h inclusion since it is not used.

View File

@ -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;