X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=form%2Ffrm_driver.c;h=f335ed2611c2a7ce8578d37ecc80dfbca1190a0c;hp=e0892bf8d4f2f7f4c64403329bdf763dcbf3f219;hb=6af42291adceeb1bd8caab41e16762ec6d96529c;hpb=92e187a3459ab7ce1613a3684ca6642447c73620;ds=sidebyside diff --git a/form/frm_driver.c b/form/frm_driver.c index e0892bf8..f335ed26 100644 --- a/form/frm_driver.c +++ b/form/frm_driver.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2009,2010 Free Software Foundation, Inc. * + * Copyright (c) 1998-2010,2011 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 +32,7 @@ #include "form.priv.h" -MODULE_ID("$Id: frm_driver.c,v 1.98 2010/05/01 21:11:43 tom Exp $") +MODULE_ID("$Id: frm_driver.c,v 1.99 2011/09/17 22:12:10 tom Exp $") /*---------------------------------------------------------------------------- This is the core module of the form library. It contains the majority @@ -1326,7 +1326,7 @@ _nc_Synchronize_Options(FIELD *field, Field_Options newopts) field->opts = oldopts; returnCode(E_CURRENT); } - if ((form->curpage == field->page)) + if (form->curpage == field->page) { if (changed_opts & O_VISIBLE) {