comparison src/ex_getln.c @ 2636:6ee9d7fa5df6 v7.3.057

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.
author Bram Moolenaar <bram@vim.org>
date Tue, 16 Nov 2010 14:06:08 +0100
parents 0de47f0d731e
children b2a7d143abe2
comparison
equal deleted inserted replaced
2635:1c4ec9ed71ca 2636:6ee9d7fa5df6
710 goto cmdline_changed; 710 goto cmdline_changed;
711 } 711 }
712 } 712 }
713 } 713 }
714 beep_flush(); 714 beep_flush();
715 c = ESC; 715 got_int = FALSE; /* don't abandon the command line */
716 did_emsg = FALSE;
717 emsg_on_display = FALSE;
718 redrawcmd();
719 goto cmdline_not_changed;
716 } 720 }
717 #endif 721 #endif
718 else 722 else
719 { 723 {
720 if (c == Ctrl_G && p_im && restart_edit == 0) 724 if (c == Ctrl_G && p_im && restart_edit == 0)