X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffrm_driver.c;h=85d6a62f3305cb72fde117e5305baa528e5e6268;hp=3b7705710f65cf019784fe4ae673a43552c35a1c;hb=1bab6fd2bd6c65560d26b46b0a245bd7d46f2add;hpb=987faea6703ceb2c59ac9787f99eda67e3fe7676 diff --git a/form/frm_driver.c b/form/frm_driver.c index 3b770571..85d6a62f 100644 --- a/form/frm_driver.c +++ b/form/frm_driver.c @@ -32,7 +32,7 @@ #include "form.priv.h" -MODULE_ID("$Id: frm_driver.c,v 1.111 2014/03/08 22:08:20 Xin.Li Exp $") +MODULE_ID("$Id: frm_driver.c,v 1.112 2014/06/28 16:28:22 Leon.Winter Exp $") /*---------------------------------------------------------------------------- This is the core module of the form library. It contains the majority @@ -1998,7 +1998,7 @@ Vertical_Scrolling(int (*const fct) (FORM *), FORM *form) { res = fct(form); if (res == E_OK) - SetStatus(form, _NEWTOP); + SetStatus(form->current, _NEWTOP); } return (res); }