On Sun, Mar 10, 2002 at 12:55:17AM +0000, John Levon wrote: > ButtonPolicy::SMInput FormToc::input(FL_OBJECT * ob, long) > { > + if (ob == dialog_->browser_toc) { > + unsigned int const choice = fl_get_browser(dialog_->browser_toc); > + > + if (choice - 1 < toclist_.size() && choice >= 1) {
I guess this is better written as choice < toclist_.size() + 1 even if the 'error' is corrected by the second part.... Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]