Merge NetBSD's 1.25 which fixes a small bug introduced in 1.24.

This commit is contained in:
Stefan Farfeleder 2005-08-09 13:31:59 +00:00
parent ae018704a1
commit 06ce2f8d05

View File

@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $NetBSD: chared.c,v 1.24 2005/08/01 23:00:15 christos Exp $
* $NetBSD: chared.c,v 1.25 2005/08/08 01:41:30 christos Exp $
*/
#if !defined(lint) && !defined(SCCSID)
@ -522,6 +522,8 @@ ch_reset(EditLine *el, int mclear)
el->el_state.argument = 1;
el->el_state.lastcmd = ED_UNASSIGNED;
el->el_history.eventno = 0;
if (mclear)
ch__clearmacro(el);
}