From 8073db34075222888b6276d2a64796779e8031bc Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Fri, 3 Mar 2017 12:12:22 +0100 Subject: [PATCH] Allow shortcuts without parameters #329. --- src/shortcut.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/shortcut.c b/src/shortcut.c index d907797..9435108 100644 --- a/src/shortcut.c +++ b/src/shortcut.c @@ -201,6 +201,8 @@ static const char *shortcut_lookup(const char *string, const char **query) *query = p + 1; } g_free(key); + } else { + uri = g_hash_table_lookup(shortcuts, string); } if (!uri && default_key && (uri = g_hash_table_lookup(shortcuts, default_key))) { -- 2.20.1