projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b42616
)
allows shortcuts without parameters
author
Robert Timm
<mail@rtti.de>
Thu, 2 Mar 2017 09:06:54 +0000
(10:06 +0100)
committer
Robert Timm
<mail@rtti.de>
Fri, 3 Mar 2017 07:21:54 +0000
(08:21 +0100)
src/shortcut.c
patch
|
blob
|
history
diff --git
a/src/shortcut.c
b/src/shortcut.c
index
af858ab
..
4e83e4b
100644
(file)
--- a/
src/shortcut.c
+++ b/
src/shortcut.c
@@
-202,6
+202,8
@@
static const char *shortcut_lookup(Client *c, const char *string, const char **q
*query = p + 1;
}
g_free(key);
+ } else {
+ uri = g_hash_table_lookup(c->shortcut.table, string);
}
if (!uri && c->shortcut.fallback