X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..61d457caae3e33efe8e0953f79c4a94e366b22d7:/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());