Code review small fixes
This commit is contained in:
parent
2dfdfc3930
commit
00c10ad600
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue