summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_Help_View.cxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 33f4d6f8a..20ac8240d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,7 @@
CHANGES IN FLTK 1.1.0b8
+ - Fl_Help_View didn't reset the horizontal scroll
+ position when showing a new page.
- Fl_Pack now allows any child widget to be the
resizable() widget, not just the last one.
- MacOS: opaque window resizing, all events except
diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx
index 2ac077ba2..ad8b1b3ba 100644
--- a/src/Fl_Help_View.cxx
+++ b/src/Fl_Help_View.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Help_View.cxx,v 1.1.2.21 2001/12/19 15:57:32 easysw Exp $"
+// "$Id: Fl_Help_View.cxx,v 1.1.2.22 2001/12/19 15:59:51 easysw Exp $"
//
// Fl_Help_View widget routines.
//
@@ -2402,6 +2402,7 @@ Fl_Help_View::value(const char *v) // I - Text to view
set_changed();
topline(0);
+ leftline(0);
}
@@ -2566,5 +2567,5 @@ hscrollbar_callback(Fl_Widget *s, void *)
//
-// End of "$Id: Fl_Help_View.cxx,v 1.1.2.21 2001/12/19 15:57:32 easysw Exp $".
+// End of "$Id: Fl_Help_View.cxx,v 1.1.2.22 2001/12/19 15:59:51 easysw Exp $".
//