]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dynlib.cpp
don't crash on weird line endings like \r\r\n
[wxWidgets.git] / src / common / dynlib.cpp
index 9068ffbca05dd265868b9df9d445c3d4da4b881e..3e78472bce24f1ca5aff05764a66bad2bbf4adc1 100644 (file)
@@ -247,7 +247,7 @@ wxString wxDynamicLibrary::CanonicalizePluginName(const wxString& name,
     wxString suffix;
     if ( cat == wxDL_PLUGIN_GUI )
     {
-        suffix = wxPlatformInfo().GetPortIdShortName();
+        suffix = wxPlatformInfo::Get().GetPortIdShortName();
     }
 #if wxUSE_UNICODE
     suffix << _T('u');