--- tr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tr.c b/tr.c index a633d74..c235215 100644 --- a/tr.c +++ b/tr.c _AT_@ -213,7 +213,7 @@ read: } if (argc == 1 && sflag) goto write; - for (i = 0, off1 = 0; i < set1ranges; i++, off1 += rangelen(set1[i])) { + for (i = 0, off1 = 0; i < set1ranges; off1 += rangelen(set1[i]), i++) { if (set1[i].start <= r && r <= set1[i].end) { if (dflag) { if (cflag) -- 2.10.1Received on Sat Oct 22 2016 - 11:39:42 CEST
This archive was generated by hypermail 2.3.0 : Sat Oct 22 2016 - 11:48:14 CEST