aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-15 20:25:16 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-15 20:25:16 +0100
commit1cea02be8d331597b3cfccf1d23eb22e57433c85 (patch)
treea8aef7726c39692a1da653ecb516049a055b198b
parent2b6521f5d23da404a597d675d12d4c0cf89657de (diff)
downloadst-1cea02be8d331597b3cfccf1d23eb22e57433c85.tar.gz
st-1cea02be8d331597b3cfccf1d23eb22e57433c85.tar.bz2
st-1cea02be8d331597b3cfccf1d23eb22e57433c85.zip
Removing my debug fprintf().
-rw-r--r--st.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/st.c b/st.c
index 02ef411..0a8382c 100644
--- 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;