diff options
author | corvid <devnull@localhost> | 2014-09-16 00:21:49 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2014-09-16 00:21:49 +0000 |
commit | 88cabc495ed24d8c6304852e141fc5294699c0a2 (patch) | |
tree | 606dcbdf23fbf4ecfdb6f6f635af814f8d6a288c | |
parent | 186a2baaac60d9c4d1d2e47f3a4d94a83d6af94c (diff) |
url positioning in location bar
the brief thread
http://lists.dillo.org/pipermail/dillo-dev/2014-September/010205.html
-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); } /* |