]> git.saurik.com Git - wxWidgets.git/commitdiff
Uncommented warning that causes crashes while
authorRobert Roebling <robert@roebling.de>
Fri, 31 Jan 2003 21:56:09 +0000 (21:56 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 31 Jan 2003 21:56:09 +0000 (21:56 +0000)
    reading .mime.types.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/mimetype.cpp

index 6d34ebc91c7c5b545a3a981c79bc197fff69f915..36789f0add0465ed092efbeffbaaff08b6906ffe 100644 (file)
@@ -2190,8 +2190,9 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName)
                 // built in icons which are useless for us anyhow
                 if ( strLHS != _T("icon") )
                 {
-                    wxLogWarning(_("Unknown field in file %s, line %d: '%s'."),
-                                 strFileName.c_str(), nLine + 1, strLHS.c_str());
+                    // This crashes for some reason in wcslen() in libc. RR.
+                    // wxLogWarning(_("Unknown field in file %s, line %d: '%s'."),
+                    //                strFileName.c_str(), nLine + 1, strLHS.c_str());
                 }
             }