From: David Webster Date: Fri, 22 Oct 1999 20:40:13 +0000 (+0000) Subject: Update for VA V4.0 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2185635d87692702e1ac8fe406737b4f9106cf9f Update for VA V4.0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/mimetype.cpp b/src/common/mimetype.cpp index e1d64f89b0..ca93f95617 100644 --- a/src/common/mimetype.cpp +++ b/src/common/mimetype.cpp @@ -1272,7 +1272,11 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName) strExtensions.Replace(wxT(","), wxT(" ")); // also deal with the leading dot +#if defined(__VISAGECPP__) && __IBMCPP__ >= 400 + if ( !strExtensions.IsEmpty() && strExtensions[size_t(0)] == wxT('.') ) { +#else if ( !strExtensions.IsEmpty() && strExtensions[0] == wxT('.') ) { +#endif strExtensions.erase(0, 1); }