From: Uwe Stöhr Date: Sat, 27 Jul 2013 21:06:31 +0000 (+0200) Subject: LaTeXFeatures.cpp: compilation fix for last commit X-Git-Tag: 2.0.7~42 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=14fb17d76d93244ceb5a09b8db835d67196e492f;p=features.git LaTeXFeatures.cpp: compilation fix for last commit (thanks to the latest TortoiseGit update cherry picking and even reverting is no longer possible, argh!) --- diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 48809b2eeb..e642bdc65c 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -777,7 +777,7 @@ string const LaTeXFeatures::getPackages() const // because esint must be loaded AFTER amslatex and mhchem loads amlatex // (this info is from the author of mhchem from June 2013) if (mustProvide("mhchem") && - params_.use_package("mhchem") != BufferParams::package_off) + params_.use_mhchem != BufferParams::package_off) packages << "\\PassOptionsToPackage{version=3}{mhchem}\n" "\\usepackage{mhchem}\n";