mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
Fix "Special Characters" palette bug
It is again possible to insert text from the "Special Characters" palette (broken by commit 8fbb13da74a1912839e9302ebc725df67619c9c0).
This commit is contained in:
@@ -172,7 +172,7 @@ static float MMDragAreaSize = 73.0f;
|
||||
NSMutableData *data = [NSMutableData data];
|
||||
int len = [string lengthOfBytesUsingEncoding:NSUTF8StringEncoding];
|
||||
int flags = [event modifierFlags] & 0xffff0000U;
|
||||
if ([event isARepeat])
|
||||
if ([event type] == NSKeyDown && [event isARepeat])
|
||||
flags |= 1;
|
||||
|
||||
[data appendBytes:&flags length:sizeof(int)];
|
||||
|
||||
Reference in New Issue
Block a user