diff options
author | Michal Mazurek <akfaew@jasminek.net> | 2011-08-03 21:01:48 +0000 |
---|---|---|
committer | Michal Mazurek <akfaew@jasminek.net> | 2011-08-03 21:01:48 +0000 |
commit | 0ba868fdb6e9d7396b732f065f4c01ce7ae108c4 (patch) | |
tree | a1c0699b9b319f8656e45fd32cad213cd27f100d | |
parent | 8524d48425237ea7345d73dcc650b70b5bc7f838 (diff) | |
download | xombrero-0ba868fdb6e9d7396b732f065f4c01ce7ae108c4.tar.gz |
Warn about going to an nonexistant quickmark
ok marco
-rw-r--r-- | xxxterm.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c index afc8320..0be6b15 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -6788,14 +6788,20 @@ qmark(struct tab *t, struct karg *arg) case XT_QMARK_OPEN: if (qmarks[index] != NULL) load_uri(t, qmarks[index]); - else + else { + show_oops(t, "quickmark \"%c\" does not exist", + mark); return (-1); + } break; case XT_QMARK_TAB: if (qmarks[index] != NULL) create_new_tab(qmarks[index], NULL, 1, -1); - else + else { + show_oops(t, "quickmark \"%c\" does not exist", + mark); return (-1); + } break; } |