projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e9bdc2
)
Fixed inverted prevnext logic.
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 5 Jul 2014 19:18:23 +0000
(21:18 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 5 Jul 2014 19:18:23 +0000
(21:18 +0200)
src/setting.c
patch
|
blob
|
history
diff --git
a/src/setting.c
b/src/setting.c
index
97c3c97
..
9a177b0
100644
(file)
--- a/
src/setting.c
+++ b/
src/setting.c
@@
-563,7
+563,7
@@
static int headers(const char *name, Type type, void *value, void *data)
static int prevnext(const char *name, Type type, void *value, void *data)
{
if (validate_js_regexp_list((char*)value)) {
- if (*name == '
p
') {
+ if (*name == '
n
') {
OVERWRITE_STRING(vb.config.nextpattern, (char*)value);
} else {
OVERWRITE_STRING(vb.config.prevpattern, (char*)value);