X-Git-Url: https://git.yukkurigames.com/?p=enjoyable.git;a=blobdiff_plain;f=TargetKeyboard.m;h=f171a50976a50624ca6cb49b54dbe66ee33270a2;hp=40661b8c2a4b41e42d8f534efaef1569c763af1a;hb=51ca12b552a9c17c4d4029b0340e193b273044a8;hpb=61f8cdec21ab083b29c22aa11fda54d6005666ca diff --git a/TargetKeyboard.m b/TargetKeyboard.m index 40661b8..f171a50 100644 --- a/TargetKeyboard.m +++ b/TargetKeyboard.m @@ -16,8 +16,8 @@ +(TargetKeyboard*) unstringifyImpl: (NSArray*) comps { NSParameterAssert([comps count] == 3); TargetKeyboard* target = [[TargetKeyboard alloc] init]; - [target setVk: [[comps objectAtIndex:1] integerValue]]; - [target setDescr: [comps objectAtIndex:2]]; + [target setVk: [comps[1] integerValue]]; + [target setDescr: comps[2]]; return target; }