[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 8d5f88d326b: Backport ed305c4b98cda5c6d479310e4ba350a17d901e75
From: |
Po Lu |
Subject: |
emacs-30 8d5f88d326b: Backport ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30 |
Date: |
Sat, 17 Aug 2024 09:53:41 -0400 (EDT) |
branch: emacs-30
commit 8d5f88d326b409651b0ebd6275b881d500090ea5
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Backport ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30
* src/xterm.c (x_construct_mouse_click): `||' → `|'.
Typo found by clang 18.1.6 -Wbool-operation. Do not
merge to master.
---
src/xterm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xterm.c b/src/xterm.c
index 215a3ed3bbe..fd3e58f85f6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -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;
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-30 8d5f88d326b: Backport ed305c4b98cda5c6d479310e4ba350a17d901e75 to emacs-30,
Po Lu <=