Removing my debug fprintf(). - st - simple terminal
HTML git clone https://git.parazyd.org/st
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 1cea02be8d331597b3cfccf1d23eb22e57433c85
DIR parent 2b6521f5d23da404a597d675d12d4c0cf89657de
HTML Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 15 Nov 2012 20:25:16 +0100
Removing my debug fprintf().
Diffstat:
M st.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
DIR diff --git a/st.c b/st.c
@@ -2715,16 +2715,13 @@ kmap(KeySym k, uint state) {
/* Check for mapped keys out of X11 function keys. */
for(i = 0; i < LEN(mappedkeys); i++) {
- if(mappedkeys[i] == k) {
- fprintf(stderr, "mapped function key.\n");
+ if(mappedkeys[i] == k)
break;
- }
}
if(i == LEN(mappedkeys)) {
if((k & 0xFFFF) < 0xFF00)
return NULL;
}
- fprintf(stderr, "Function key.\n");
for(kp = key; kp < key + LEN(key); kp++) {
mask = kp->mask;