x11: add #actions == #syms check
authorRan Benita <ran234@gmail.com>
Fri, 7 Feb 2014 15:13:03 +0000 (17:13 +0200)
committerRan Benita <ran234@gmail.com>
Fri, 7 Feb 2014 15:13:03 +0000 (17:13 +0200)
commited18f7dde661e63528a12a63a32d2dceecec01bb
tree5b0467fc3ad9c6cca2478be988305da2cc55bde6
parent125bb19ede2582dc489b2728ccb9af3c0f800ddd
x11: add #actions == #syms check

This must always hold (but if there are no actions, #actions==0), and
explicitly ensures there won't be a division-by-zero a bit below.

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