diff options
author | Ilya Lukyanov <i@ilyaluk.ru> | 2017-11-17 21:45:36 +0300 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2018-01-29 12:48:52 -0500 |
commit | 8ad13c3157e1294e590dbb4bc8b086e385f2cc47 (patch) | |
tree | 9bb8dd3474fd537bafef2b58ceedf2b8d422b38f | |
parent | 3a6935a2a0232102be4fe45723b1101ebb775d08 (diff) |
Fix folder size displaying in new torrent window
-rw-r--r-- | src/trg-file-parser.c | 2 |
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; } } |