]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/mimetype.cpp
xti streaming extensions
[wxWidgets.git] / src / unix / mimetype.cpp
index 1ef3b17521598dbaeb024876d6bb7e4a0339c12b..a8c0329c914cef4e15a442a4bdb1d65c7c6e4e85 100644 (file)
@@ -1821,7 +1821,7 @@ int wxMimeTypesManagerImpl::AddToMimeData(const wxString& strType,
 
         // change nIndex so we can use it below to add the extensions
         m_aExtensions.Add(wxEmptyString);
-        nIndex = m_aExtensions.size();
+        nIndex = m_aExtensions.size() - 1;
 
         m_aDescriptions.Add(strDesc);
     }