Re: [Plib-devel] A bug in puaLargeInput.cxx ...
Brought to you by:
sjbaker
From: Bram S. <br...@sa...> - 2005-11-23 16:30:53
|
Fay John F Contr AFSEO/SK wrote: > Gentlemen, > > I have been swatting nuisance bugs in my application and have > found on in "puaLargeInput.cxx" on line 175. The patch looks like this: > > File puaLargeInput.cxx:173 > if ( top_line_in_window < 0 ) top_line_in_window = 0 ; > > - right_slider->setValue ( 1.0f - float(top_line_in_window) / > float(num_lines - lines_in_window) ) ; > + right_slider->setValue ( num_lines - lines_in_window - > top_line_in_window ) ; > } > > The value of the right slider used to be normalized from 0 to 1 but with > the "puRange" this got changed. If somebody could please put the patch > into CVS for me I would appreciate it. I can't find this file in my cvs tree: $ find . -name puaLargeInput.cxx -print $ A similarly named file puLargeInput.cxx is there, but line nr 175 looks differently there. Also, you seem like a knowledgable guy, with frequent contributions. Steve Baker is very easy when it comes to giving cvs write access. Maybe you should get one? (It can be fustrating if your patch to the list gets dropped silently, I see occasional patches that are unintentionally ignored). Bram > > John F. Fay > Technical Fellow, Jacobs/Sverdrup TEAS Group > 850-729-6330 > joh...@eg... > > -- Bram Stolk, VR Engineer SARA, Amsterdam. tel +31 20 592 3000 "Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition." |