]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dircmn.cpp
check the week day for consistency in ParseFormat() (replaces patch 788052)
[wxWidgets.git] / src / common / dircmn.cpp
index 801e2d1f9f9b059c89490de38bc91286ea6f64f3..e613a8b038f3a9646056c98e8b9f0a9b3a6c7423 100644 (file)
@@ -100,7 +100,7 @@ size_t wxDir::Traverse(wxDirTraverser& sink,
         wxString dirname;
         for ( bool cont = GetFirst(&dirname, _T(""), wxDIR_DIRS | wxDIR_HIDDEN);
               cont;
-              cont = GetNext(&dirname) )
+              cont = cont && GetNext(&dirname) )
         {
             const wxString fulldirname = prefix + dirname;