Patch [665886]: Fix smapi.cpp to support new for loop scoping.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-01-19 10:01:52 +00:00
parent 1bc822dfb5
commit cceb71da44

View File

@ -301,7 +301,8 @@ bool wxMapiSession::Send(wxMailMessage& message)
//Setup the "To" recipients
int nRecipIndex = 0;
int nToSize = message.m_to.GetCount();
for (int i=0; i<nToSize; i++)
int i;
for (i=0; i<nToSize; i++)
{
MapiRecipDesc& recip = mapiMessage.lpRecips[nRecipIndex];
ZeroMemory(&recip, sizeof(MapiRecipDesc));