Browse files

Switched to using array syntax for accessing named capture indexes

  • Loading branch information...
1 parent a4d44da commit c9119cadb49a22f0e0673367cb3fcb0ca856b5bd @griff griff committed Jan 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/core/OnigRegexp.m
View
2 framework/core/OnigRegexp.m
@@ -273,7 +273,7 @@ - (NSIndexSet*)indexesForName:(NSString*)name
NSMutableIndexSet* indexes = [NSMutableIndexSet indexSet];
int i;
for (i=0; i<num; i++) {
- [indexes addIndex:*(buf+i)];
+ [indexes addIndex:buf[i]];
}
return indexes;
}

0 comments on commit c9119ca

Please sign in to comment.