Code review small fixes

This commit is contained in:
Elias Daler 2018-05-16 09:30:16 +03:00 committed by Lukas Dürrenberger
parent 2dfdfc3930
commit 00c10ad600
2 changed files with 6 additions and 6 deletions

View file

@ -48,7 +48,7 @@ bool isMappingInitialized = false;
bool isValidKeycode(KeyCode keycode)
{
// Valid key code range is [8,255], according to the Xlib manual
return keycode >= 8 || keycode <= 255;
return (keycode >= 8) || (keycode <= 255);
}