diff --git a/Thanks b/Thanks index 127255eaa..33189174b 100644 --- a/Thanks +++ b/Thanks @@ -454,6 +454,8 @@ Ed Williams Jim Wilson Wrote a major overhaul of the viewer code to make it more flexible and modular. Contributed many small fixes and bug reports. + Contributed the the pui property browser. + Contributed to the autopilot. Jean-Claude Wippler diff --git a/src/GUI/prop_picker.cxx b/src/GUI/prop_picker.cxx index 13724ee6c..dbb99615b 100755 --- a/src/GUI/prop_picker.cxx +++ b/src/GUI/prop_picker.cxx @@ -530,8 +530,8 @@ void fgPropPicker::find_props () // if non-empty list, adjust the size of the slider... if (num_files > 1) { - if ((11.0f/(num_files-1)) < 1) { - slider->setSliderFraction (11.0f/(num_files-1)) ; + if ((11.0f/(num_files)) < 1) { + slider->setSliderFraction (11.0f/(num_files)) ; slider->reveal(); up_arrow->reveal(); down_arrow->reveal(); @@ -607,5 +607,3 @@ fgPropEdit::fgPropEdit ( char *name, char *value, char *proppath ) : puDialogBox FG_FINALIZE_PUI_DIALOG( this ); } - - diff --git a/src/Main/viewmgr.cxx b/src/Main/viewmgr.cxx index 56bd8ed54..9caf8b843 100644 --- a/src/Main/viewmgr.cxx +++ b/src/Main/viewmgr.cxx @@ -25,8 +25,6 @@ #include -#include // FIXME: this should NOT be needed - #include "viewmgr.hxx" #include "fg_props.hxx"