aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.c b/main.c
index 6ac36b8..46b8d87 100644
--- a/main.c
+++ b/main.c
@@ -49,13 +49,8 @@ void print_with_time(struct input_event *ie)
tm_info = localtime(&sec);
strftime(time_buf, sizeof(time_buf), "%F %T", tm_info);
- if (repeat_counters[ie->code] != 1) {
- printf("%s.%06ld: %s x%d\n", time_buf, (long)ie->time.tv_usec,
- key_names[ie->code], repeat_counters[ie->code]);
- } else {
- printf("%s.%06ld: %s\n", time_buf, (long)ie->time.tv_usec,
+ printf("%s.%06ld: %s\n", time_buf, (long)ie->time.tv_usec,
key_names[ie->code]);
- }
return;
}