X-Git-Url: https://git.yukkurigames.com/?a=blobdiff_plain;f=TargetMouseBtn.m;h=e8d77e42f6c67364557d835ef860a0e00d4383bd;hb=d9d15b3f8729758f19b21918fee758b856921673;hp=857de7b090647cc0d3234054143c832b50af1e62;hpb=a71f9eae29ac9df72aa15c2de80f6a82b5aca44e;p=enjoyable.git diff --git a/TargetMouseBtn.m b/TargetMouseBtn.m index 857de7b..e8d77e4 100644 --- a/TargetMouseBtn.m +++ b/TargetMouseBtn.m @@ -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; }