xkb: fix XkbSetMap check for the keytypes count
The previous if/else condition resulted in us always setting the key type count to the current number of key types. Split this up correctly.
Regression introduced in de940e06
Fixes #1249 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The previous if/else condition resulted in us always setting the key type count to the current number of key types. Split this up correctly.
Regression introduced in de940e06
Fixes #1249 (closed)