mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-31 06:18:17 +00:00
Simplify expression
This commit is contained in:
parent
79a6fcdc5c
commit
1eaf7083ef
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ cocoa_make_window_resizable(void *w, bool resizable) {
|
|||
bool
|
||||
cocoa_alt_option_key_pressed(NSUInteger flags) {
|
||||
NSUInteger q = (OPT(macos_option_as_alt) == 1) ? NSRightAlternateKeyMask : NSLeftAlternateKeyMask;
|
||||
return ((q & flags) == q) ? true : false;
|
||||
return (q & flags) == q;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue