# HG changeset patch # User Mike Becker # Date 1369213037 -7200 # Node ID 104e75d18ede3ee62a75ab894001dfdb137d3e6e # Parent 0402b9b41b0a1708aaa000c256d6c1122f702af0 fixed bug: line sum of subdirectories were not added to total sum diff -r 0402b9b41b0a -r 104e75d18ede src/scanner.c --- a/src/scanner.c Wed May 22 10:26:22 2013 +0200 +++ b/src/scanner.c Wed May 22 10:57:17 2013 +0200 @@ -132,8 +132,8 @@ printf("%*s\n", filelist->displayname_len+scanner.spaces, filelist->displayname); if (settings->recursive && S_ISDIR(filelist->st_mode)) { - scanDirectory((scanner_t) {filelist->filename, scanner.spaces+1}, - settings); + lineSum += scanDirectory( + (scanner_t) {filelist->filename, scanner.spaces+1}, settings); } } else { if ((settings->includeSuffixes->count == 0