X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetMouseScroll.m;fp=TargetMouseScroll.m;h=be64f7a2986c4e9824a0534ccd4d7dea6dec744f;hp=a1cca9c94d926816c95e8106f5c25cc7345f0bd7;hb=51ca12b552a9c17c4d4029b0340e193b273044a8;hpb=5704217edc0a67f3720053248d5c9ba10131b776 diff --git a/TargetMouseScroll.m b/TargetMouseScroll.m index a1cca9c..be64f7a 100644 --- a/TargetMouseScroll.m +++ b/TargetMouseScroll.m @@ -19,7 +19,7 @@ +(TargetMouseScroll*) unstringifyImpl: (NSArray*) comps { NSParameterAssert([comps count] == 2); TargetMouseScroll* target = [[TargetMouseScroll alloc] init]; - [target setHowMuch: [[comps objectAtIndex:1] integerValue]]; + [target setHowMuch: [comps[1] integerValue]]; return target; }