mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix x_construct_mouse_click || vs | typo
* src/xterm.c (x_construct_mouse_click): ‘||’ → ‘|’. Typo found by clang 18.1.6 -Wbool-operation.
This commit is contained in:
parent
8c81818673
commit
ed305c4b98
1 changed files with 1 additions and 1 deletions
|
|
@ -14691,7 +14691,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
Add a link
Reference in a new issue