Browse Source

Spellcheck encoding is now always utf-8.

merge-requests/365/head
eidheim 10 years ago
parent
commit
f77e7723ba
  1. 4
      src/source.cc

4
src/source.cc

@ -371,8 +371,10 @@ void Source::View::configure() {
note_tag->property_foreground()=style->property_foreground();
}
if(Singleton::config->source.spellcheck_language.size()>0)
if(Singleton::config->source.spellcheck_language.size()>0) {
aspell_config_replace(spellcheck_config, "lang", Singleton::config->source.spellcheck_language.c_str());
aspell_config_replace(spellcheck_config, "encoding", "utf-8");
}
spellcheck_possible_err=new_aspell_speller(spellcheck_config);
if(spellcheck_checker!=NULL)
delete_aspell_speller(spellcheck_checker);

Loading…
Cancel
Save