diff options
author | Daniel Carl <danielcarl@gmx.de> | 2013-08-05 23:34:18 +0200 |
---|---|---|
committer | Daniel Carl <danielcarl@gmx.de> | 2013-08-05 23:54:29 +0200 |
commit | f1e44000419a69cd85ef7a25cf0ccf7552c128e4 (patch) | |
tree | 82088a6574464b9d70433f11f43c557c9d7a5634 /src/hints.c | |
parent | ce1fcd3d58f6406f457a5f9a6ce1858626e8f790 (diff) |
Fixed non working hinting mode for ;o and ;t.
If the hint-input-* commands where used and the hinted elements where selected
by number, the input box was cleared immediately after it where filled,
because of the to late deactivation of hint mode in command_input.
Diffstat (limited to 'src/hints.c')
-rw-r--r-- | src/hints.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hints.c b/src/hints.c index c9d61e2..ebf8ac8 100644 --- a/src/hints.c +++ b/src/hints.c @@ -147,7 +147,7 @@ static void run_script(char *js) vb.gui.webview, "hovering-over-link", NULL, *(value + 5) == '\0' ? NULL : (value + 5) ); } else if (!strncmp(value, "DONE:", 5)) { - vb_set_mode(VB_MODE_NORMAL, true); + vb_set_mode(VB_MODE_NORMAL, false); } else if (!strncmp(value, "INSERT:", 7)) { vb_set_mode(VB_MODE_INSERT, false); if (HINTS_GET_TYPE(mode) == HINTS_TYPE_EDITABLE) { |