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:
@@ -1272,7 +1272,11 @@ bool wxMimeTypesManagerImpl::ReadMimeTypes(const wxString& strFileName)
|
|||||||
strExtensions.Replace(wxT(","), wxT(" "));
|
strExtensions.Replace(wxT(","), wxT(" "));
|
||||||
|
|
||||||
// also deal with the leading dot
|
// 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('.') ) {
|
if ( !strExtensions.IsEmpty() && strExtensions[0] == wxT('.') ) {
|
||||||
|
#endif
|
||||||
strExtensions.erase(0, 1);
|
strExtensions.erase(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user