Skip to content

Commit da7a786

Browse files
committed
Merge branch 'simplify' of https://github.com/Luflosi/kitty
2 parents 79a6fcd + 1eaf708 commit da7a786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kitty/cocoa_window.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ - (void)openFilesFromPasteboard:(NSPasteboard *)pasteboard type:(int)type {
368368
bool
369369
cocoa_alt_option_key_pressed(NSUInteger flags) {
370370
NSUInteger q = (OPT(macos_option_as_alt) == 1) ? NSRightAlternateKeyMask : NSLeftAlternateKeyMask;
371-
return ((q & flags) == q) ? true : false;
371+
return (q & flags) == q;
372372
}
373373

374374
void

0 commit comments

Comments
 (0)