mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 11:42:30 +00:00
fixed formatting
This commit is contained in:
@@ -98,7 +98,6 @@ static CGKeyCode kMPFunctionKeyCodes[] = { kVK_F1, kVK_F2, kVK_F3, kVK_F4, kVK_F
|
||||
|
||||
/**
|
||||
* Mapping for modifier to CGEventFlags.
|
||||
* @note KeepassControl is mapped to command!
|
||||
*
|
||||
* @return dictionary with commands as keys and CGEventFlags as wrapped values
|
||||
*/
|
||||
@@ -194,7 +193,6 @@ static CGKeyCode kMPFunctionKeyCodes[] = { kVK_F1, kVK_F2, kVK_F3, kVK_F4, kVK_F
|
||||
return;
|
||||
}
|
||||
@autoreleasepool {
|
||||
|
||||
/*
|
||||
* obfuscate entered data using Two-Channel Auto-Type Obfuscation
|
||||
* refer to KeePass documentation for more information
|
||||
@@ -202,7 +200,6 @@ static CGKeyCode kMPFunctionKeyCodes[] = { kVK_F1, kVK_F2, kVK_F3, kVK_F4, kVK_F
|
||||
*/
|
||||
|
||||
NSMutableString *paste = [@"" mutableCopy];
|
||||
|
||||
NSMutableArray<NSValue *> *typeKeys = [[NSMutableArray alloc] init];
|
||||
|
||||
/*
|
||||
@@ -244,7 +241,6 @@ static CGKeyCode kMPFunctionKeyCodes[] = { kVK_F1, kVK_F2, kVK_F3, kVK_F4, kVK_F
|
||||
for(NSUInteger i = 0; i < paste.length; i++) {
|
||||
[commands addObject:[[MPAutotypeKeyPress alloc] initWithModifierMask:0 keyCode:kVK_LeftArrow]];
|
||||
}
|
||||
|
||||
for(NSUInteger i = 0; i < typeKeys.count; i++) {
|
||||
[commands addObject:[[MPAutotypeKeyPress alloc] initWithModifiedKey:typeKeys[i].modifiedKeyValue]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user