Crash fix: end of doc check was wrong following previous cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30232 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-06-22 21:49:48 +00:00
parent 5e01b2dfa1
commit 369b0714d6

View 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;
}