X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df5168c427b51f1ab2b3200a5c8f7626b3d24aae..50dee7e0ebbe05574116dce391596ddc55d644be:/src/common/fs_inet.cpp?ds=sidebyside 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());