Fix thinko

This commit is contained in:
Juergen Spitzmueller 2012-07-23 11:39:41 +02:00
parent 566a5f2b75
commit 508dd27e44

View File

@ -2648,7 +2648,7 @@ string BufferParams::babelCall(string const & lang_opts, bool const langoptions)
if (lang_package != "auto" && lang_package != "babel" if (lang_package != "auto" && lang_package != "babel"
&& lang_package != "default" && lang_package != "none") && lang_package != "default" && lang_package != "none")
return lang_package; return lang_package;
if (lang_package == "auto" if (lang_package == "default"
&& lyxrc.language_package_selection == LyXRC::LP_CUSTOM) && lyxrc.language_package_selection == LyXRC::LP_CUSTOM)
return lyxrc.language_custom_package; return lyxrc.language_custom_package;
// suppress the babel call if there is no BabelName defined // suppress the babel call if there is no BabelName defined