Make NSDeleteFunctionKey to NSDeleteCharacter
This commit is contained in:
parent
59ff3dc2f3
commit
738edb650d
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ void SetPlatformAccelerator(ui::Accelerator* accelerator) {
|
|||
modifiers ^= NSShiftKeyMask;
|
||||
}
|
||||
|
||||
if (character == NSDeleteFunctionKey) {
|
||||
character = NSDeleteCharacter;
|
||||
}
|
||||
|
||||
NSString* characters =
|
||||
[[[NSString alloc] initWithCharacters:&character length:1] autorelease];
|
||||
|
||||
|
|
Loading…
Reference in a new issue