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
This commit is contained in:
Matthias Melcher 2006-04-27 03:06:23 +00:00
parent b72e1d6699
commit 8ffe967089
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
CHANGES IN FLTK 1.1.8
- Setting a new value in Fl_Input_ wil now actually move
cursor to the end of the input field as documented
(STR #1161)
- FLUID crashed on WIN32 with international characters
(STR #1176)
- Fl_Check_Browser did not allow the user to toggle the

View File

@ -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;
}