X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetMouseBtn.m;h=172f7406f1a1d0d3c1a56d53b2a37d2fed5b9f6c;hp=74298746cfd67fa3d990aea981364d851b046f02;hb=724979785b445dcba8a9861c2531ae0308bdf40a;hpb=61f8cdec21ab083b29c22aa11fda54d6005666ca diff --git a/TargetMouseBtn.m b/TargetMouseBtn.m index 7429874..172f740 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; }