Initialize BibTeXInfo modifier to zero, always.

This commit is contained in:
Julien Rioux 2013-05-13 20:26:46 +02:00
parent 626a38a600
commit aa475ea70c
2 changed files with 4 additions and 2 deletions

View File

@ -47,10 +47,10 @@ public:
/// and the values are the associated field values.
typedef std::map<docstring, docstring>::const_iterator const_iterator;
///
BibTeXInfo() : is_bibtex_(true) {}
BibTeXInfo() : is_bibtex_(true), modifier_(0) {}
/// argument sets isBibTeX_, so should be false only if it's coming
/// from a bibliography environment
BibTeXInfo(bool ib) : is_bibtex_(ib) {}
BibTeXInfo(bool ib) : is_bibtex_(ib), modifier_(0) {}
/// constructor that sets the entryType
BibTeXInfo(docstring const & key, docstring const & type);
/// \return the short form of an authorlist, used for sorting

View File

@ -89,6 +89,8 @@ What's new
- Add missing space before the edition in the bibliography (part of bug 8488).
- Fix random character inserted as year modifier in author-year citations.
* TEX2LYX