types: fix canonical types copying
authorRan Benita <ran234@gmail.com>
Mon, 23 Jul 2012 18:18:18 +0000 (21:18 +0300)
committerRan Benita <ran234@gmail.com>
Thu, 26 Jul 2012 19:55:41 +0000 (22:55 +0300)
commit7662397fd41a1581f71836e7c7361100d3fb0d56
treed72b8b961c9cdd996a214ca22eb7dd00eb590167
parent3c58072172f18b86ecfef8e04be0f5da23e40679
types: fix canonical types copying

Without the re-initialization, the copying fails. This wasn't noticed
because this code practically never gets executed with ordinary keymaps.

Signed-off-by: Ran Benita <ran234@gmail.com>
src/alloc.c
src/xkbcomp/keytypes.c