From: Julian Smart Date: Mon, 25 Aug 2003 18:42:38 +0000 (+0000) Subject: Fixed redefinition of i X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c59f3b2d96647662dc1a80283c005e19184cc5dc Fixed redefinition of i git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/net/smapi.cpp b/contrib/src/net/smapi.cpp index 059129c515..3126be5a6d 100644 --- a/contrib/src/net/smapi.cpp +++ b/contrib/src/net/smapi.cpp @@ -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;