Fixed bug where Fl_Output and Fl_Multiline_Output would scroll to the

end of the value() text.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1175 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2000-06-06 18:42:08 +00:00
parent f4fff52828
commit 7bf3c4e2eb

View File

@ -1,5 +1,5 @@
//
// "$Id: Fl_Input_.cxx,v 1.21.2.5 2000/06/05 21:20:52 mike Exp $"
// "$Id: Fl_Input_.cxx,v 1.21.2.6 2000/06/06 18:42:08 mike Exp $"
//
// Common input widget routines for the Fast Light Tool Kit (FLTK).
//
@ -714,7 +714,7 @@ int Fl_Input_::static_value(const char* str, int len) {
xscroll_ = yscroll_ = 0;
minimal_update(0);
}
position(size(), 0);
position(0, 0);
return 1;
}
@ -744,5 +744,5 @@ Fl_Input_::~Fl_Input_() {
}
//
// End of "$Id: Fl_Input_.cxx,v 1.21.2.5 2000/06/05 21:20:52 mike Exp $".
// End of "$Id: Fl_Input_.cxx,v 1.21.2.6 2000/06/06 18:42:08 mike Exp $".
//