]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
Added missing include for non-precompiled headers.
[wxWidgets.git] / src / common / dynlib.cpp
index 0b479642b6548e4e766bd25760b0164d8573bf17..2c82172f8fffa9b8d0ed46a34868eca6bc4daa71 100644 (file)
@@ -363,7 +363,8 @@ wxLibrary *wxLibraries::LoadLibrary(const wxString& name)
     if (node != NULL)
         return ((wxLibrary *)node->Data());
 #else // !OS/2
-    if ( (node = m_loaded.Find(name.GetData())) )
+       node = m_loaded.Find(name.GetData());
+    if ( node )
         return ((wxLibrary *)node->Data());
 #endif
     // If DLL shares data, this is necessary.