X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6057972be41063d3c6038f09605eec76931a847a..4def3b359546ee186b3db723db719f85b761f36a:/src/common/dynlib.cpp diff --git a/src/common/dynlib.cpp b/src/common/dynlib.cpp index 0b479642b6..f90788fb17 100644 --- a/src/common/dynlib.cpp +++ b/src/common/dynlib.cpp @@ -363,7 +363,7 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name) if (node != NULL) return ((wxLibrary *)node->Data()); #else // !OS/2 - if ( (node = m_loaded.Find(name.GetData())) ) + if ( (node = m_loaded.Find(name.GetData())) != NULL) return ((wxLibrary *)node->Data()); #endif // If DLL shares data, this is necessary.