diff --git a/src/lirc.c b/src/lirc.c
index ce8f92891345fc24d509cfa040637b6d01bb879e..965037bd23f94e8304b85278f4ecbce236b05001 100644 (file)
--- a/src/lirc.c
+++ b/src/lirc.c
if (lirc_nextcode(&code) == 0) {
while (lirc_code2char(lc, code, &txt) == 0 && txt != NULL) {
cmd = get_key_command_from_name(txt);
- if (do_input_event(cmd) != 0)
+ if (!do_input_event(cmd))
return FALSE;
}
}