updated for version 7.1-144
diff --git a/src/diff.c b/src/diff.c
index bdbda08..9028d20 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -791,6 +791,9 @@
     }
     mch_remove(tmp_orig);
 
+    /* force updating cursor position on screen */
+    curwin->w_valid_cursor.lnum = 0;
+
     diff_redraw(TRUE);
 
 theend: