diff --git a/src/source.cc b/src/source.cc index 2688854..c634aa3 100644 --- a/src/source.cc +++ b/src/source.cc @@ -655,6 +655,8 @@ void Source::View::set_info(const std::string &info) { } void Source::View::spellcheck(const Gtk::TextIter& start, const Gtk::TextIter& end) { + if(spellcheck_checker==NULL) + return; auto iter=start; while(iter && iter