[Plib-devel] A bug in puaLargeInput.cxx ...
Brought to you by:
sjbaker
From: Fay J. F C. AFSEO/SK <joh...@eg...> - 2005-11-19 20:21:08
|
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. John F. Fay Technical Fellow, Jacobs/Sverdrup TEAS Group 850-729-6330 joh...@eg... |