summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-08-13 20:22:35 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-08-13 20:22:35 +0200
commitc45a9f6acb3d2799e131ff3dd87fdb49d438e630 (patch)
tree8ef4657888c76daa4bc95eead34db7b99c90b356 /modules
parentf8ffc1b1d7790cf56cb7f766104243186d990a3a (diff)
ignore KEYCODE_NONE, refs #149
Diffstat (limited to 'modules')
-rw-r--r--modules/wincons/wincons.c3
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);
}
}
}