Automatically trigger/untrigger targets based on setting the 'running' property;...
[enjoyable.git] / TargetMouseBtn.m
index 857de7b..e8d77e4 100644 (file)
@@ -19,7 +19,7 @@
 +(TargetMouseBtn*) unstringifyImpl: (NSArray*) comps {
        NSParameterAssert([comps count] == 2);
        TargetMouseBtn* target = [[TargetMouseBtn alloc] init];
-       [target setWhich: [[comps objectAtIndex:1] integerValue]];
+       [target setWhich: [comps[1] integerValue]];
        return target;
 }