X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffrm_driver.c;h=b9f91e12f26d2a59754ee2f9ae11081acb66755f;hp=9d0b7d3e7f29706edc972efd48ffa4d505ca2adc;hb=460005b642d978c6d4b48810803514bd36a6245b;hpb=093902b4199bbc1d9afec433759e48344c06ed1a diff --git a/form/frm_driver.c b/form/frm_driver.c index 9d0b7d3e..b9f91e12 100644 --- a/form/frm_driver.c +++ b/form/frm_driver.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * + * Copyright 2018-2019,2020 Thomas E. Dickey * + * Copyright 1998-2016,2017 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -32,7 +33,7 @@ #include "form.priv.h" -MODULE_ID("$Id: frm_driver.c,v 1.127 2018/09/08 19:03:39 tom Exp $") +MODULE_ID("$Id: frm_driver.c,v 1.129 2020/02/02 23:34:34 tom Exp $") /*---------------------------------------------------------------------------- This is the core module of the form library. It contains the majority @@ -866,7 +867,7 @@ _nc_Position_Form_Cursor(FORM *form) | E_BAD_ARGUMENT - invalid form pointer | E_SYSTEM_ERROR - general error +--------------------------------------------------------------------------*/ -static bool move_after_insert = true; +static bool move_after_insert = TRUE; NCURSES_EXPORT(int) _nc_Refresh_Current_Field(FORM *form) { @@ -4359,7 +4360,7 @@ form_driver(FORM *form, int c) const Binding_Info *BI = (Binding_Info *) 0; int res = E_UNKNOWN_COMMAND; - move_after_insert = true; + move_after_insert = TRUE; T((T_CALLED("form_driver(%p,%d)"), (void *)form, c));