Clean up manual (previously 'neutral') vs. automatic (i.e. process-driven) configurat...
[enjoyable.git] / TargetKeyboard.m
index 7bf9f83..eb1f4d7 100644 (file)
@@ -16,8 +16,8 @@
 +(TargetKeyboard*) unstringifyImpl: (NSArray*) comps {
        NSParameterAssert([comps count] == 3);
        TargetKeyboard* target = [[TargetKeyboard alloc] init];
-       [target setVk: [[comps objectAtIndex:1] integerValue]];
-       [target setDescr: [comps objectAtIndex:2]];
+       [target setVk: [comps[1] integerValue]];
+       [target setDescr: comps[2]];
        return target;
 }