X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..69d31e313035d5e22d9400ec946f6007f710910c:/src/msw/dir.cpp?ds=sidebyside diff --git a/src/msw/dir.cpp b/src/msw/dir.cpp index 5404038be8..d7302d23c7 100644 --- a/src/msw/dir.cpp +++ b/src/msw/dir.cpp @@ -311,7 +311,7 @@ wxDir::wxDir(const wxString& dirname) bool wxDir::Open(const wxString& dirname) { delete M_DIR; - + // The Unix code does a similar test if (wxDirExists(dirname)) { @@ -322,7 +322,7 @@ bool wxDir::Open(const wxString& dirname) else { m_data = NULL; - + return false; } }