Fix default spellchecker when only Enchant is available

This has been annoying me for ages.
This commit is contained in:
Jean-Marc Lasgouttes 2018-03-19 14:07:03 +01:00
parent af795b80d8
commit ae473b012a

View File

@ -284,6 +284,8 @@ void LyXRC::setDefaults()
// FIXME: this check should test the target platform (darwin)
#if defined(USE_MACOSX_PACKAGING)
spellchecker = "native";
#elif defined(USE_ENCHANT)
spellchecker = "enchant";
#elif defined(USE_ASPELL)
spellchecker = "aspell";
#elif defined(USE_HUNSPELL)