]> git.lyx.org Git - features.git/commitdiff
Crash fix: end of doc check was wrong following previous cleanup.
authorAbdelrazak Younes <younes@lyx.org>
Mon, 22 Jun 2009 21:49:48 +0000 (21:49 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 22 Jun 2009 21:49:48 +0000 (21:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30232 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiSpellchecker.cpp

index 30bad116807131fab7d191bf2e7ec4edd6ad2344..2700d9e5f84b19ca7953b81e29d0ad0db49d3e25 100644 (file)
@@ -223,7 +223,7 @@ void GuiSpellchecker::check()
        d->progress_ += progress;
 
        // end of document
-       if (from == to) {
+       if (from == doc_iterator_end(&buffer())) {
                showSummary();
                return;
        }