typo/spelling fixes (patch 983448)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-04 11:19:47 +00:00
parent edc712f574
commit 87b6002d7c
12 changed files with 43 additions and 43 deletions

View File

@@ -414,10 +414,10 @@ size_t wxFile::Write(const void *pBuf, size_t nCount)
wxCHECK( (pBuf != NULL) && IsOpened(), 0 );
#ifdef __WXWINCE__
DWORD bytesRead = 0;
DWORD bytesWritten = 0;
int iRc = 0;
if (WriteFile((HANDLE) m_fd, pBuf, (DWORD) nCount, & bytesRead, NULL))
iRc = bytesRead;
if (WriteFile((HANDLE) m_fd, pBuf, (DWORD) nCount, & bytesWritten, NULL))
iRc = bytesWritten;
else
iRc = -1;
#elif defined(__MWERKS__)