diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-03-13 20:25:15 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-13 21:24:53 +0100 |
commit | 2c721f484d9177d28f27a4a33eb2cd0e6c4798fd (patch) | |
tree | e105fbfe031c9cfa7889f2a8bdbf54edd138d819 /nx-X11/programs | |
parent | d2c811564f7a1c955a95defc5f7d2c27a5e9f828 (diff) | |
download | nx-libs-2c721f484d9177d28f27a4a33eb2cd0e6c4798fd.tar.gz nx-libs-2c721f484d9177d28f27a4a33eb2cd0e6c4798fd.tar.bz2 nx-libs-2c721f484d9177d28f27a4a33eb2cd0e6c4798fd.zip |
Keystroke.h: sane struct init
Correctly use constant for unused structs instead of implicitly
setting it through calloc().
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Keystroke.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c index 6e8c9c2a8..9165a057a 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.c @@ -369,6 +369,7 @@ static void parse_keystroke_file(void) for (bindings = cur->children; bindings; bindings = bindings->next) { + map[idx].stroke = KEYSTROKE_NOTHING; if (bindings->type == XML_ELEMENT_NODE && strcmp((char *)bindings->name, "keystroke") == 0 && read_binding_from_xmlnode(bindings, &(map[idx]))) |