Fix KeyInfo's syms array size calculation
authorRan Benita <ran234@gmail.com>
Sun, 8 Apr 2012 15:46:58 +0000 (18:46 +0300)
committerDaniel Stone <daniel@fooishbar.org>
Mon, 9 Apr 2012 12:53:26 +0000 (13:53 +0100)
commit8feba630fa7a4b720c42a9b5b4e4280b0e17a500
tree1abe142fa59f73c93270940432f8ad4275e4230a
parent518debb3bc0db2cb8036144ddfc22b81cfbb6f83
Fix KeyInfo's syms array size calculation

When merging group info from two KeyInfo's, the new size of the keysym
array was off. Fix it to match how it is used a few lines below.

There are also some peripheral fixes, and some comments (took me a
few minutes to get what's going on).

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