X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetMouseBtn.m;fp=TargetMouseBtn.m;h=172f7406f1a1d0d3c1a56d53b2a37d2fed5b9f6c;hp=74298746cfd67fa3d990aea981364d851b046f02;hb=51ca12b552a9c17c4d4029b0340e193b273044a8;hpb=5704217edc0a67f3720053248d5c9ba10131b776 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; }