updated for version 7.3.057
Problem: Segfault with command line abbreviation. (Randy Morris)
Solution: Don't retrigger the abbreviation when abandoning the command line.
Continue editing the command line after the error.
diff --git a/src/ex_getln.c b/src/ex_getln.c
index c0d2496..dfc6dff 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -712,7 +712,11 @@
}
}
beep_flush();
- c = ESC;
+ got_int = FALSE; /* don't abandon the command line */
+ did_emsg = FALSE;
+ emsg_on_display = FALSE;
+ redrawcmd();
+ goto cmdline_not_changed;
}
#endif
else