Always have at least one level in types
authorDaniel Stone <daniel@fooishbar.org>
Wed, 8 Aug 2012 11:55:04 +0000 (13:55 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Wed, 8 Aug 2012 14:23:30 +0000 (16:23 +0200)
commit5968c5e6a87eb6c4a618443357487439fb244ac3
treeb4903aaf793f7907d5da51bef912c4e46f2ffdbd
parent28733c54f9445ca5f0fe8d15456e90078816b0c2
Always have at least one level in types

The ONE_LEVEL definition from xkeyboard-config doesn't specify any
actual levels, but there's an implicit (anything unmatched) -> Level1
rule.  Given this, each type actually has at least one level, whether or
not it specifies anything.

Fixes stringcomp.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/xkbcomp/keytypes.c