projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49fb6a6
)
Allow shortcuts without parameters #329.
author
Daniel Carl
<danielcarl@gmx.de>
Fri, 3 Mar 2017 11:12:22 +0000
(12:12 +0100)
committer
Daniel Carl
<danielcarl@gmx.de>
Fri, 3 Mar 2017 11:12:22 +0000
(12:12 +0100)
src/shortcut.c
patch
|
blob
|
history
diff --git
a/src/shortcut.c
b/src/shortcut.c
index
d907797
..
9435108
100644
(file)
--- 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))) {