summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-06-05 13:02:03 +1000
committerMaxime Coste <mawww@kakoune.org>2020-06-05 13:02:03 +1000
commit3d08ccae0a15af1343b60b3ecc1838c1a8dcd7b2 (patch)
treed4dd93233f979ca5404044866af52b2f5c252edc /src
parentb4588de29229d4e5aaffc27a7ba92c027e38cbef (diff)
Hinting over an element with no url or source is not an error
focusHint returning "OVER:A:" because the hint element did not have a src or href was treated as an error, and led to the hint keystroke also being passed down to the page.
Diffstat (limited to 'src')
-rw-r--r--src/hints.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hints.c b/src/hints.c
index 41917ca..b886e57 100644
--- a/src/hints.c
+++ b/src/hints.c
@@ -328,8 +328,6 @@ static gboolean hint_function_check_result(Client *c, GVariant *return_value)
} else {
vb_statusbar_show_hover_url(c, LINK_TYPE_LINK, value + 7);
}
- } else {
- goto error;
}
} else if (!strncmp(value, "DONE:", 5)) {
fire_timeout(c, FALSE);