diff options
Diffstat (limited to 'events.c')
-rw-r--r-- | events.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -183,7 +183,7 @@ send_event(int type, const gchar *details, const gchar *custom_event) { /* Transform gdk key events to our own events */ void key_to_event(guint keyval, gint mode) { - char byte[2]; + char byte[2] = {0, 0}; /* check for Latin-1 characters (1:1 mapping) */ if ((keyval > 0x0020 && keyval <= 0x007e) || |