This commit is contained in:
Kovid Goyal 2019-11-29 09:21:32 +05:30
commit da7a78691f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -368,7 +368,7 @@ - (void)openFilesFromPasteboard:(NSPasteboard *)pasteboard type:(int)type {
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