namespace lyx {
-ASpell::ASpell(BufferParams const &, string const & lang)
- : els(0), spell_error_object(0)
+ASpell::ASpell(): els(0), spell_error_object(0)
{
- addSpeller(lang);
}
// platforms (cygwin, OS X). Therefore we use utf-8, that does
// always work.
aspell_config_replace(config, "encoding", "utf-8");
- if (lyxrc.spellcheck_accept_compound)
+ if (lyxrc.spellchecker_accept_compound)
// Consider run-together words as legal compounds
aspell_config_replace(config, "run-together", "true");
else