From 508dd27e4488240e0991f36c3b29340101f934af Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Mon, 23 Jul 2012 11:39:41 +0200 Subject: [PATCH] Fix thinko --- src/BufferParams.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp index 872fd30e07..6c975d6bc8 100644 --- a/src/BufferParams.cpp +++ b/src/BufferParams.cpp @@ -2648,7 +2648,7 @@ string BufferParams::babelCall(string const & lang_opts, bool const langoptions) if (lang_package != "auto" && lang_package != "babel" && lang_package != "default" && lang_package != "none") return lang_package; - if (lang_package == "auto" + if (lang_package == "default" && lyxrc.language_package_selection == LyXRC::LP_CUSTOM) return lyxrc.language_custom_package; // suppress the babel call if there is no BabelName defined