diff options
Diffstat (limited to 'src/ui.cc')
-rw-r--r-- | src/ui.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -816,7 +816,7 @@ void UI::set_location(const char *str) { if (!str) str = ""; Location->value(str); - Location->position(strlen(str)); + Location->position((Fl::focus() == Location) ? strlen(str) : 0); } /* |