X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetMouseScroll.m;h=be64f7a2986c4e9824a0534ccd4d7dea6dec744f;hp=a1cca9c94d926816c95e8106f5c25cc7345f0bd7;hb=561317beecbe4dd445b0c3cb067326828ea5566a;hpb=61f8cdec21ab083b29c22aa11fda54d6005666ca 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; }