X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..daa66792aa4a108887d2b4e8078df6067b6a762f:/src/common/fs_inet.cpp diff --git a/src/common/fs_inet.cpp b/src/common/fs_inet.cpp index 1e3d353a7c..217d7bd72c 100644 --- a/src/common/fs_inet.cpp +++ b/src/common/fs_inet.cpp @@ -160,7 +160,7 @@ wxInternetFSHandler::~wxInternetFSHandler() wxInetCacheNode *n2; m_Cache.BeginFind(); - while ((n = m_Cache.Next())) + while ((n = m_Cache.Next()) != 0) { n2 = (wxInetCacheNode*) n->GetData(); wxRemoveFile(n2->GetTemp());