Greg Ercolano wrote: > The suggested Fl_Scroll patches are interesting to me: > > [snip] > > I'd suggest Boris's code if the original pre-patched code is correctly > intentioned and not a bug. Otherwise, I'd suggest the following which > would keep the true/false value, and 'fix' the intention of the code: > > - char al = (scrollbar.align()&FL_ALIGN_LEFT!=0); > - char at = (scrollbar.align()&FL_ALIGN_TOP!=0); > + char al = (scrollbar.align()&FL_ALIGN_LEFT)!=0; > + char at = (scrollbar.align()&FL_ALIGN_TOP)!=0; > > Comments welcome.
Wow! That's my comment. Boris _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
