projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d0c86
)
Remove if condition for none debug mode.
author
Daniel Carl
<danielcarl@gmx.de>
Fri, 1 Aug 2014 15:04:27 +0000
(17:04 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Fri, 1 Aug 2014 15:08:18 +0000
(17:08 +0200)
src/mode.c
patch
|
blob
|
history
diff --git
a/src/mode.c
b/src/mode.c
index
5cfaf03
..
bb1af1d
100644
(file)
--- a/
src/mode.c
+++ b/
src/mode.c
@@
-142,7
+142,6
@@
VbResult mode_handle_key(int key)
#ifdef DEBUG
int flags = vb.mode->flags;
int id = vb.mode->id;
-#endif
res = vb.mode->keypress(key);
if (vb.mode) {
PRINT_DEBUG(
@@
-151,6
+150,9
@@
VbResult mode_handle_key(int key)
vb.mode->id - ' ', vb.mode->flags
);
}
+#else
+ res = vb.mode->keypress(key);
+#endif
return res;
}
return RESULT_ERROR;