mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-30 01:20:21 +01:00
quirks: fix a logical error checking for A..Z
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c6f87ade84
commit
f00e388686
1 changed files with 1 additions and 1 deletions
|
|
@ -916,7 +916,7 @@ parse_file(struct quirks_context *ctx, const char *path)
|
|||
break;
|
||||
default:
|
||||
/* entries must start with A-Z */
|
||||
if (line[0] < 'A' && line[0] > 'Z') {
|
||||
if (line[0] < 'A' || line[0] > 'Z') {
|
||||
qlog_parser(ctx, "%s:%d: Unexpected line %s\n",
|
||||
path, lineno, line);
|
||||
goto out;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue