Segmentation fault occurs on undo.
Brought to you by:
buergmann
I have encountered segmentation fault on undo.
:set mmdiff --git a/bvi.c b/bvi.c
index dcc1f85..6f087e3 100644
--- a/bvi.c
+++ b/bvi.c
@@ -918,7 +918,7 @@ do_put(loc, n, buf)
emsg(nobytes);
return;
}
- if (loc > maxpos) {
+ if (loc >= maxpos) {
beep();
return;
}
Fixed in 1.4.2