]> git.saurik.com Git - wxWidgets.git/commit
Don't return invalid size from wxDir::GetTotalSize() for empty dirs.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Apr 2010 14:15:34 +0000 (14:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Apr 2010 14:15:34 +0000 (14:15 +0000)
commit852febd80ec724502cf2c6bea5ad898eb78c4dda
tree9dec7f10ec4c422218c7f9168e58bb4e832b5f3c
parent191d6608f465c8d0f263bd676adea5aec9593984
Don't return invalid size from wxDir::GetTotalSize() for empty dirs.

wxDirTraverserSumSize::GetTotalSize() may, and will, return 0 for empty
directories, this is not an error and so don't treat it as such.

Closes #11937.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/dircmn.cpp