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 | 4584cfb4041fc35b22886c0252b3169de64a787e (patch) | |
tree | a51ffb303d4342b0d19161bc6cc6320cae004944 | |
parent | 0824591133ebfa5a360df92e22bdde0454f43b1d (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); } /* |