diff options
author | Alfred E. Heggestad <aeh@db.org> | 2016-08-13 20:22:35 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2016-08-13 20:22:35 +0200 |
commit | c45a9f6acb3d2799e131ff3dd87fdb49d438e630 (patch) | |
tree | 8ef4657888c76daa4bc95eead34db7b99c90b356 /modules | |
parent | f8ffc1b1d7790cf56cb7f766104243186d990a3a (diff) |
ignore KEYCODE_NONE, refs #149
Diffstat (limited to 'modules')
-rw-r--r-- | modules/wincons/wincons.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/wincons/wincons.c b/modules/wincons/wincons.c index b54b7f0..7b7f275 100644 --- a/modules/wincons/wincons.c +++ b/modules/wincons/wincons.c @@ -107,7 +107,8 @@ static DWORD WINAPI input_thread(LPVOID arg) * to send them to the RE main event loop via * a message queue */ - mqueue_push(st->mq, ch, 0); + if (ch) + mqueue_push(st->mq, ch, NULL); } } } |