about summary refs log tree commit diff stats
path: root/xxxterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'xxxterm.c')
-rw-r--r--xxxterm.c10
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;
 	}