From 8ffe967089c32a11af2a9d219d79dc9cd9858dd4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 27 Apr 2006 03:06:23 +0000 Subject: STR 1161: Setting a new value in Fl_Input_ wil now actually move cursor to the end of the input field as documented git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5034 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Input_.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Input_.cxx b/src/Fl_Input_.cxx index a61be37e1..b22284b43 100644 --- a/src/Fl_Input_.cxx +++ b/src/Fl_Input_.cxx @@ -868,7 +868,7 @@ int Fl_Input_::static_value(const char* str, int len) { xscroll_ = yscroll_ = 0; minimal_update(0); } - position(0, readonly() ? 0 : size()); + position(readonly() ? 0 : size()); return 1; } -- cgit v1.2.3