summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2015-08-26 19:21:09 +0200
committerJosJuice <josjuice@gmail.com>2015-08-26 19:21:09 +0200
commitd276d1abbbd0f71b9189da8b63bca6c3a4bc7ed4 (patch)
tree3beeb528f34dc4073e7bcce968a6f810d490c425 /Source/Core/Common/FileUtil.cpp
parent13526135f8609b53edfc39f86a0d9c5a2cd7caad (diff)
Fix VolumeDirectory
Fixes the regression from a225426 and clarifies a related comment.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp
index 0b4a99bbd7..cd20316bbe 100644
--- a/Source/Core/Common/FileUtil.cpp
+++ b/Source/Core/Common/FileUtil.cpp
@@ -499,6 +499,7 @@ FSTEntry ScanDirectoryTree(const std::string &directory, bool recursive)
entry = ScanDirectoryTree(physical_name, true);
else
entry.size = 0;
+ parent_entry.size += entry.size;
}
else
{