diff --git a/implicit.c b/implicit.c index 3cf309f9..c3374d5d 100644 --- a/implicit.c +++ b/implicit.c @@ -559,8 +559,7 @@ pattern_search (file, archive, depth, recursions) bcopy (stem, p, stemlen); p += stemlen; bcopy (rule->suffixes[i], p, - rule->lens[i] - - (rule->suffixes[i] - rule->targets[i] - 1) + 1); + rule->lens[i] - (rule->suffixes[i] - rule->targets[i]) + 1); new->file = enter_file (new->name); new->next = file->also_make; file->also_make = new;