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:
parent
1bc822dfb5
commit
cceb71da44
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user