Fix latin8 upper/lower case check
authorRan Benita <ran234@gmail.com>
Sat, 24 Mar 2012 00:56:38 +0000 (02:56 +0200)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 27 Mar 2012 12:59:14 +0000 (13:59 +0100)
commit6f7478d775af67446bc2deb4683397bfa1b60a8e
treec059c556fc015116ea81aff373778e8eeb0fe829
parent3b22373f1fb554eb0ada419382381146238ce2ec
Fix latin8 upper/lower case check

GCC complained:
misc.c:235:13: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]
misc.c:248:13: warning: logical 'and' of mutually exclusive tests is always false [-Wlogical-op]

Looking at keysymdef.h shows that the check is indeed wrong. This commit
updates the check to match the latin8 section of keysymdef exactly.

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