From d378051ea70951c4d29df78510f35175c76ff6fc Mon Sep 17 00:00:00 2001 From: eidheim Date: Wed, 18 Nov 2015 17:44:14 +0100 Subject: [PATCH] No longer crashes when doing spell check buffer with missing spell check language. --- src/source.cc | 2 ++ 1 file changed, 2 insertions(+) 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