updated for version 7.0137
diff --git a/src/edit.c b/src/edit.c
index b31177c..f399f30 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4810,7 +4810,7 @@
 {
     pos_T	tpos = curwin->w_cursor;
 
-    spell_bad_len = spell_move_to(BACKWARD, TRUE, TRUE);
+    spell_bad_len = spell_move_to(curwin, BACKWARD, TRUE, TRUE, NULL);
     if (curwin->w_cursor.col != tpos.col)
 	start_arrow(&tpos);
 }