diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2006-04-27 03:06:23 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2006-04-27 03:06:23 +0000 |
| commit | 8ffe967089c32a11af2a9d219d79dc9cd9858dd4 (patch) | |
| tree | 0b32c180b08f19106b69ea206b88c910a0c9734b /src | |
| parent | b72e1d669909686d5871d8ea972d9c0870097b5a (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Input_.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
