Backport ed305c4b98
to emacs-30
* src/xterm.c (x_construct_mouse_click): `||' → `|'. Typo found by clang 18.1.6 -Wbool-operation. Do not merge to master.
This commit is contained in:
parent
6a512ab032
commit
8d5f88d326
1 changed files with 1 additions and 1 deletions
|
@ -14699,7 +14699,7 @@ x_construct_mouse_click (struct input_event *result,
|
|||
result->kind = (event->type != ButtonRelease ? NO_EVENT
|
||||
: wheel & 2 ? HORIZ_WHEEL_EVENT : WHEEL_EVENT);
|
||||
result->code = 0; /* Not used. */
|
||||
result->modifiers &= ~(up_modifier || down_modifier);
|
||||
result->modifiers &= ~(up_modifier | down_modifier);
|
||||
result->modifiers |= wheel & 1 ? up_modifier : down_modifier;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue