]> 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>
Mon, 13 May 2013 18:26:46 +0000 (20:26 +0200)
src/BiblioInfo.h

index 254338b6e94423c98d625a6fffe9792e69ccbaff..c4c27e30b09492b6f9372871cd69984a76ec97c7 100644 (file)
@@ -45,10 +45,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