diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-08 17:32:01 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-08 17:32:01 +0100 |
commit | 7c6c9251c23e4923ae4353a34aa7d83b5a5840d1 (patch) | |
tree | 19b4d07aff4e0515efb1eee98e913aa0ae1d3597 /src/mds-kbdc/variables.c | |
parent | mds-kbdc: compile-keyboard: regression (diff) | |
download | mds-7c6c9251c23e4923ae4353a34aa7d83b5a5840d1.tar.gz mds-7c6c9251c23e4923ae4353a34aa7d83b5a5840d1.tar.bz2 mds-7c6c9251c23e4923ae4353a34aa7d83b5a5840d1.tar.xz |
mds-kbdc: compile-layout. bug fixes, test-cases and mark all untested error reports
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-kbdc/variables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/variables.c b/src/mds-kbdc/variables.c index b53569a..55bae76 100644 --- a/src/mds-kbdc/variables.c +++ b/src/mds-kbdc/variables.c @@ -153,7 +153,7 @@ int variables_let(size_t variable, mds_kbdc_tree_t* restrict value) if (new == NULL) return -1; variables = new; - memset(variables, 0, (variable + 1 - variable_count) * sizeof(variable_t*)); + memset(variables + variable_count, 0, (variable + 1 - variable_count) * sizeof(variable_t*)); variable_count = variable + 1; } |