[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ed305c4b98c 7/7: Fix x_construct_mouse_click || vs | typo
From: |
Paul Eggert |
Subject: |
master ed305c4b98c 7/7: Fix x_construct_mouse_click || vs | typo |
Date: |
Sat, 17 Aug 2024 00:16:49 -0400 (EDT) |
branch: master
commit ed305c4b98cda5c6d479310e4ba350a17d901e75
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>
Fix x_construct_mouse_click || vs | typo
* src/xterm.c (x_construct_mouse_click): ‘||’ → ‘|’.
Typo found by clang 18.1.6 -Wbool-operation.
---
src/xterm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 45814e9ecc9..8a7971fb25f 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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;
}
}
- master updated (909d1d02db1 -> ed305c4b98c), Paul Eggert, 2024/08/17
- master ed305c4b98c 7/7: Fix x_construct_mouse_click || vs | typo,
Paul Eggert <=
- master 2169a9387a5 1/7: Don’t ignore -Wclobbered in bytecode.c, Paul Eggert, 2024/08/17
- master 1282714da55 3/7: Don’t ignore -Wclobbered in eval.c, Paul Eggert, 2024/08/17
- master 8c81818673a 6/7: Tune volatile in read_char, Paul Eggert, 2024/08/17
- master cfa5a634e91 2/7: Don’t ignore -Wclobbered in emacs-module.c, Paul Eggert, 2024/08/17
- master 3b24ac53885 4/7: Don’t ignore -Wclobbered in image.c, Paul Eggert, 2024/08/17
- master a967efdd2a5 5/7: Don’t ignore -Wclobbered in keyboard.c, Paul Eggert, 2024/08/17