Update for VA V4.0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
1999-10-22 20:40:13 +00:00
parent 6c8a980fc4
commit 2185635d87

View File

@@ -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);
}