summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/trg-file-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c
index 2200ec6..bd27939 100644
--- a/src/trg-file-parser.c
+++ b/src/trg-file-parser.c
@@ -88,7 +88,7 @@ static trg_files_tree_node *trg_file_parser_node_insert(trg_files_tree_node
target_node->length = (gint64) file_length_node->val.i;
while (lastIter) {
- lastIter->length = target_node->length;
+ lastIter->length += target_node->length;
lastIter = lastIter->parent;
}
}