From b8d6102177dc9175806803e9ea71bca5c173a4b3 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 15 Jul 2003 10:10:37 +0000 Subject: [PATCH] Fixed out by one error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/mimetype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/mimetype.cpp b/src/unix/mimetype.cpp index 1ef3b17521..a8c0329c91 100644 --- a/src/unix/mimetype.cpp +++ b/src/unix/mimetype.cpp @@ -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); } -- 2.50.0