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:
@@ -301,7 +301,8 @@ bool wxMapiSession::Send(wxMailMessage& message)
|
|||||||
//Setup the "To" recipients
|
//Setup the "To" recipients
|
||||||
int nRecipIndex = 0;
|
int nRecipIndex = 0;
|
||||||
int nToSize = message.m_to.GetCount();
|
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];
|
MapiRecipDesc& recip = mapiMessage.lpRecips[nRecipIndex];
|
||||||
ZeroMemory(&recip, sizeof(MapiRecipDesc));
|
ZeroMemory(&recip, sizeof(MapiRecipDesc));
|
||||||
|
Reference in New Issue
Block a user