Commit 4473ce4d authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

Assorted spelling fixes.

parent cbd65f1c
...@@ -2096,7 +2096,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This) ...@@ -2096,7 +2096,7 @@ static HRESULT AVIFILE_SaveFile(IAVIFileImpl *This)
if (This->dwMoviChunkPos == 0) if (This->dwMoviChunkPos == 0)
AVIFILE_ComputeMoviStart(This); AVIFILE_ComputeMoviStart(This);
/* written one record to much? */ /* written one record too much? */
if (This->ckLastRecord.dwFlags & MMIO_DIRTY) { if (This->ckLastRecord.dwFlags & MMIO_DIRTY) {
This->dwNextFramePos -= 3 * sizeof(DWORD); This->dwNextFramePos -= 3 * sizeof(DWORD);
if (This->nIdxRecords > 0) if (This->nIdxRecords > 0)
......
...@@ -1354,7 +1354,7 @@ static LRESULT customdraw_1(int n, NMCUSTOMDRAW *nm) ...@@ -1354,7 +1354,7 @@ static LRESULT customdraw_1(int n, NMCUSTOMDRAW *nm)
return 0; return 0;
} }
ok(FALSE, "To many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage); ok(FALSE, "Too many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage);
return -1; return -1;
} }
...@@ -1381,7 +1381,7 @@ static LRESULT customdraw_2(int n, NMCUSTOMDRAW *nm) ...@@ -1381,7 +1381,7 @@ static LRESULT customdraw_2(int n, NMCUSTOMDRAW *nm)
return 0; return 0;
} }
ok(FALSE, "To many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage); ok(FALSE, "Too many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage);
return 0; return 0;
} }
...@@ -1411,7 +1411,7 @@ static LRESULT customdraw_3(int n, NMCUSTOMDRAW *nm) ...@@ -1411,7 +1411,7 @@ static LRESULT customdraw_3(int n, NMCUSTOMDRAW *nm)
return 0; return 0;
} }
ok(FALSE, "To many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage); ok(FALSE, "Too many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage);
return 0; return 0;
} }
...@@ -1439,7 +1439,7 @@ static LRESULT customdraw_4(int n, NMCUSTOMDRAW *nm) ...@@ -1439,7 +1439,7 @@ static LRESULT customdraw_4(int n, NMCUSTOMDRAW *nm)
return 0; return 0;
} }
ok(FALSE, "To many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage); ok(FALSE, "Too many custom draw messages (n=%d, nm->dwDrawStage=%d)\n", n, nm->dwDrawStage);
return 0; return 0;
} }
......
...@@ -510,7 +510,7 @@ static LRESULT GSM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADER ...@@ -510,7 +510,7 @@ static LRESULT GSM_StreamConvert(PACMDRVSTREAMINSTANCE adsi, PACMDRVSTREAMHEADER
return ACMERR_NOTPOSSIBLE; return ACMERR_NOTPOSSIBLE;
} }
/* The packing algorythm writes 32 bytes, then 33 bytes, /* The packing algorithm writes 32 bytes, then 33 bytes,
* and it seems to pad to align to 65 bytes always * and it seems to pad to align to 65 bytes always
* adding extra data where necessary * adding extra data where necessary
*/ */
......
...@@ -185,7 +185,7 @@ static nsresult NSAPI nsInputStream_ReadSegments(nsIInputStream *iface, ...@@ -185,7 +185,7 @@ static nsresult NSAPI nsInputStream_ReadSegments(nsIInputStream *iface,
nsres = aWriter(&This->nsIInputStream_iface, aClousure, This->buf, 0, aCount, &written); nsres = aWriter(&This->nsIInputStream_iface, aClousure, This->buf, 0, aCount, &written);
if(NS_FAILED(nsres)) if(NS_FAILED(nsres))
TRACE("aWritter failed: %08x\n", nsres); TRACE("aWriter failed: %08x\n", nsres);
else if(written != This->buf_size) else if(written != This->buf_size)
FIXME("written %d != buf_size %d\n", written, This->buf_size); FIXME("written %d != buf_size %d\n", written, This->buf_size);
......
...@@ -1486,7 +1486,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize) ...@@ -1486,7 +1486,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
computeInternalFrame(pi, lpic->lpbiPrev, lpic->lpPrev); computeInternalFrame(pi, lpic->lpbiPrev, lpic->lpPrev);
/* swap buffers for current and previous frame */ /* swap buffers for current and previous frame */
/* Don't free and alloc new -- costs to much time and they are of equal size ! */ /* Don't free and alloc new -- costs too much time and they are of equal size ! */
pTmp = pi->pPrevFrame; pTmp = pi->pPrevFrame;
pi->pPrevFrame = pi->pCurFrame; pi->pPrevFrame = pi->pCurFrame;
pi->pCurFrame = pTmp; pi->pCurFrame = pTmp;
...@@ -1534,7 +1534,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize) ...@@ -1534,7 +1534,7 @@ static LRESULT Compress(CodecInfo *pi, ICCOMPRESS* lpic, DWORD dwSize)
} }
{ /* swap buffer for current and previous frame */ { /* swap buffer for current and previous frame */
/* Don't free and alloc new -- costs to much time and they are of equal size ! */ /* Don't free and alloc new -- costs too much time and they are of equal size ! */
LPWORD pTmp = pi->pPrevFrame; LPWORD pTmp = pi->pPrevFrame;
pi->pPrevFrame = pi->pCurFrame; pi->pPrevFrame = pi->pCurFrame;
......
...@@ -939,7 +939,7 @@ FileMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOther,IMoniker** p ...@@ -939,7 +939,7 @@ FileMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOther,IMoniker** p
IBindCtx *pbind; IBindCtx *pbind;
DWORD mkSys; DWORD mkSys;
ULONG nb1,nb2,i,sameIdx; ULONG nb1,nb2,i,sameIdx;
BOOL machimeNameCase=FALSE; BOOL machineNameCase = FALSE;
if (ppmkPrefix==NULL) if (ppmkPrefix==NULL)
return E_POINTER; return E_POINTER;
...@@ -997,20 +997,20 @@ FileMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOther,IMoniker** p ...@@ -997,20 +997,20 @@ FileMonikerImpl_CommonPrefixWith(IMoniker* iface,IMoniker* pmkOther,IMoniker** p
if (sameIdx > 1 && *stringTable1[0]=='\\' && *stringTable2[1]=='\\'){ if (sameIdx > 1 && *stringTable1[0]=='\\' && *stringTable2[1]=='\\'){
machimeNameCase=TRUE; machineNameCase = TRUE;
for(i=2;i<sameIdx;i++) for(i=2;i<sameIdx;i++)
if( (*stringTable1[i]=='\\') && (i+1 < sameIdx) && (*stringTable1[i+1]=='\\') ){ if( (*stringTable1[i]=='\\') && (i+1 < sameIdx) && (*stringTable1[i+1]=='\\') ){
machimeNameCase=FALSE; machineNameCase = FALSE;
break; break;
} }
} }
if (machimeNameCase && *stringTable1[sameIdx-1]=='\\') if (machineNameCase && *stringTable1[sameIdx-1]=='\\')
sameIdx--; sameIdx--;
if (machimeNameCase && (sameIdx<=3) && (nb1 > 3 || nb2 > 3) ) if (machineNameCase && (sameIdx<=3) && (nb1 > 3 || nb2 > 3) )
ret = MK_E_NOPREFIX; ret = MK_E_NOPREFIX;
else else
{ {
......
...@@ -388,7 +388,7 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) { ...@@ -388,7 +388,7 @@ static inline BOOL UNIXFS_is_pidl_of_type(LPCITEMIDLIST pIDL, SHCONTF fFilter) {
* *
* RETURNS * RETURNS
* Success, TRUE * Success, TRUE
* Failure, FALSE - Path not existent, too long, insufficient rights, to many symlinks * Failure, FALSE - Path not existent, too long, insufficient rights, too many symlinks
*/ */
static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath) static BOOL UNIXFS_get_unix_path(LPCWSTR pszDosPath, char *pszCanonicalPath)
{ {
......
...@@ -4595,7 +4595,7 @@ static const invalid_uri invalid_uri_tests[] = { ...@@ -4595,7 +4595,7 @@ static const invalid_uri invalid_uri_tests[] = {
{"*a*b*c*d://not.valid.com",0,FALSE}, {"*a*b*c*d://not.valid.com",0,FALSE},
/* Not allowed to have invalid % encoded data. */ /* Not allowed to have invalid % encoded data. */
{"ftp://google.co%XX/",0,FALSE}, {"ftp://google.co%XX/",0,FALSE},
/* To many h16 components. */ /* Too many h16 components. */
{"http://[1:2:3:4:5:6:7:8:9]",0,FALSE}, {"http://[1:2:3:4:5:6:7:8:9]",0,FALSE},
/* Not enough room for IPv4 address. */ /* Not enough room for IPv4 address. */
{"http://[1:2:3:4:5:6:7:192.0.1.0]",0,FALSE}, {"http://[1:2:3:4:5:6:7:192.0.1.0]",0,FALSE},
......
...@@ -1618,7 +1618,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags) ...@@ -1618,7 +1618,7 @@ static BOOL parse_ipv6address(const WCHAR **ptr, parse_data *data, DWORD flags)
/* An IPv6 address can have no more than 8 h16 components. */ /* An IPv6 address can have no more than 8 h16 components. */
if(ip.h16_count >= 8) { if(ip.h16_count >= 8) {
*ptr = start; *ptr = start;
TRACE("(%p %p %x): Not a IPv6 address, to many h16 components.\n", TRACE("(%p %p %x): Not a IPv6 address, too many h16 components.\n",
ptr, data, flags); ptr, data, flags);
return FALSE; return FALSE;
} }
......
/* GLIB - Library of useful routines for C programming /* GLIB - Library of useful routines for C programming
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* *
* Wine Gstramer integration * Wine GStreamer integration
* Copyright 2010 Aric Stewart, CodeWeavers * Copyright 2010 Aric Stewart, CodeWeavers
* *
* gthread.c: solaris thread system implementation * gthread.c: solaris thread system implementation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment