Fixed redefinition of i

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2003-08-25 18:42:38 +00:00
parent 6a8c7c70c9
commit c59f3b2d96

View File

@ -462,7 +462,7 @@ bool wxMapiSession::Send(wxMailMessage& message)
if (nAttachmentSize)
{
#ifdef UNICODE
for (int i = 0;i < nAttachmentSize;i++)
for (i = 0;i < nAttachmentSize;i++)
{
free(mapiMessage.lpFiles[i].lpszPathName);
free(mapiMessage.lpFiles[i].lpszFileName);
@ -473,7 +473,7 @@ bool wxMapiSession::Send(wxMailMessage& message)
//Free up the Recipients and Originator memory
#ifdef UNICODE
for (int i = 0;i < nRecipIndex;i++)
for (i = 0;i < nRecipIndex;i++)
free(mapiMessage.lpRecips[i].lpszName);
#endif
delete [] mapiMessage.lpRecips;