]> git.lyx.org Git - features.git/commitdiff
Initialize BibTeXInfo modifier to zero, always.
authorJulien Rioux <jrioux@lyx.org>
Mon, 13 May 2013 18:26:46 +0000 (20:26 +0200)
committerJulien Rioux <jrioux@lyx.org>
Sun, 26 May 2013 17:43:05 +0000 (19:43 +0200)
src/BiblioInfo.h
status.20x

index 53ac254a04ade78f9c35d499043693a441161e8e..759d2539b25cd33763dd240f6894841313aea248 100644 (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
index d434c556cb2dd7aa7e99217909c99af25cc82b1a..aceb016312cf1e3a083831c5a031be58cea2149b 100644 (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