diff options
author | Rob <rob.manea@gmail.com> | 2009-11-04 11:24:33 +0100 |
---|---|---|
committer | Rob <rob.manea@gmail.com> | 2009-11-04 11:24:33 +0100 |
commit | c1fe4e485816cd4207af48dd1e4e3e667a1b4825 (patch) | |
tree | e8e7f936ba32656fc905c44701cf7df23dd73ef0 /events.c | |
parent | 181e84921e9ecea073e1757f36bf45af5e08c521 (diff) |
init. array
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) || |