mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Merge NetBSD's 1.25 which fixes a small bug introduced in 1.24.
This commit is contained in:
parent
ae018704a1
commit
06ce2f8d05
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue