Commit 313a85f1 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

Spelling fixes.

parent d9e98ea3
......@@ -97,7 +97,7 @@ static void test_pbuffers(HDC hdc)
* and a pixelformat that's only available for offscreen rendering (this means that only
* wglChoosePixelFormatARB and friends know about the format.
*
* The first thing we need are pixelformats with pbuffer capabilites.
* The first thing we need are pixelformats with pbuffer capabilities.
*/
res = pwglChoosePixelFormatARB(hdc, iAttribList, NULL, MAX_FORMATS, iFormats, &nFormats);
if(res <= 0)
......@@ -214,7 +214,7 @@ static void test_choosepixelformat(HDC hdc)
* This test tries to proof the DONTCARE behavior by passing an almost 'empty' pfd to
* ChoosePixelFormat. The pfd only has some really needed flags (RGBA, window, double buffer) set.
* Further a 32 bit color buffer has been requested. The idea is that when a format with e.g. depth or stencil bits
* is returned, while there are also 'better' candidates in the list wihtout them (but located AFTER the returned one)
* is returned, while there are also 'better' candidates in the list without them (but located AFTER the returned one)
* that an option set to zero means DONTCARE. We try to proof this by checking the aux/depth/stencil bits.
* Proofing this behavior for the color bits isn't possible as all formats have red/green/blue/(alpha), so we assume
* that if it holds for aux/depth/stencil it also holds for the others.
......
......@@ -102,7 +102,7 @@ static const IUnknownVtbl IInner_VTable =
SeekInner_Release
};
/* Generic functions for aggegration */
/* Generic functions for aggregation */
static HRESULT WINAPI SeekOuter_QueryInterface(PassThruImpl *This, REFIID riid, LPVOID *ppv)
{
if (This->bAggregatable)
......
......@@ -783,7 +783,7 @@ static HRESULT AcceptProcAFR(LPVOID iface, const AM_MEDIA_TYPE *pmt)
return S_FALSE;
}
/* overriden pin functions */
/* overridden pin functions */
static HRESULT WINAPI FileAsyncReaderPin_QueryInterface(IPin * iface, REFIID riid, LPVOID * ppv)
{
......
......@@ -708,7 +708,7 @@ static HRESULT MPEGSplitter_pre_connect(IPin *iface, IPin *pConnectPin)
This->Parser.pInputPin->rtStop = MEDIATIME_FROM_BYTES(This->EndOfFile);
This->Parser.pInputPin->rtStart = This->Parser.pInputPin->rtCurrent = MEDIATIME_FROM_BYTES(This->header_bytes);
/* http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm has a whole readup on audio headers */
/* http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm has a whole read up on audio headers */
while (pos + 3 < This->EndOfFile)
{
LONGLONG length = 0;
......
......@@ -493,7 +493,7 @@ HRESULT VideoRenderer_create(IUnknown * pUnkOuter, LPVOID * ppv)
HRESULT VideoRendererDefault_create(IUnknown * pUnkOuter, LPVOID * ppv)
{
/* TODO: Attenmpt to use the VMR-7 renderer instead when possible */
/* TODO: Attempt to use the VMR-7 renderer instead when possible */
return VideoRenderer_create(pUnkOuter, ppv);
}
......
......@@ -595,7 +595,7 @@ void ME_Scroll(ME_TextEditor *editor, int value, int type)
switch (type)
{
case 1:
/*Scroll absolutly*/
/*Scroll absolutely*/
si.nPos = value;
break;
case 2:
......@@ -628,7 +628,7 @@ void ME_Scroll(ME_TextEditor *editor, int value, int type)
void ME_UpdateScrollBar(ME_TextEditor *editor)
{
/* Note that this is the only funciton that should ever call SetScrolLInfo
/* Note that this is the only function that should ever call SetScrolLInfo
* with SIF_PAGE or SIF_RANGE. SetScrollPos and SetScrollRange should never
* be used at all. */
......
......@@ -341,7 +341,7 @@ void ME_CharFormatFromLogFont(HDC hDC, const LOGFONTW *lf, CHARFORMAT2W *fmt)
if (lf->lfItalic) fmt->dwEffects |= CFM_ITALIC;
if (lf->lfUnderline) fmt->dwEffects |= CFM_UNDERLINE;
/* notice that if a logfont was created with underline due to CFM_LINK, this
would add an erronious CFM_UNDERLINE. This isn't currently ever a problem */
would add an erronous CFM_UNDERLINE. This isn't currently ever a problem */
if (lf->lfStrikeOut) fmt->dwEffects |= CFM_STRIKEOUT;
fmt->bPitchAndFamily = lf->lfPitchAndFamily;
fmt->bCharSet = lf->lfCharSet;
......
......@@ -852,7 +852,7 @@ static void test_EM_SCROLL(void)
"a LONG LINE LONG LINE LONG LINE LONG LINE LONG LINE "
"LONG LINE LONG LINE LONG LINE LONG LINE LONG LINE "
"LONG LINE \nb\nc\nd\ne");
for (j = 0; j < 12; j++) /* reset scrol position to top */
for (j = 0; j < 12; j++) /* reset scroll position to top */
SendMessage(hwndRichEdit, EM_SCROLL, SB_PAGEUP, 0);
/* get first visible line */
......@@ -1532,7 +1532,7 @@ static DWORD CALLBACK test_EM_GETMODIFY_esCallback(DWORD_PTR dwCookie,
{
const char** str = (const char**)dwCookie;
int size = strlen(*str);
if(size > 3) /* let's make it peice-meal for fun */
if(size > 3) /* let's make it piecemeal for fun */
size = 3;
*pcb = cb;
if (*pcb > size) {
......
......@@ -247,7 +247,7 @@ void ME_Undo(ME_TextEditor *editor) {
if (!editor->pUndoStack)
return;
/* watch out for uncommited transactions ! */
/* watch out for uncommitted transactions ! */
assert(editor->pUndoStack->type == diUndoEndTransaction);
editor->nUndoMode = umAddToRedo;
......@@ -280,7 +280,7 @@ void ME_Redo(ME_TextEditor *editor) {
if (!editor->pRedoStack)
return;
/* watch out for uncommited transactions ! */
/* watch out for uncommitted transactions ! */
assert(editor->pRedoStack->type == diUndoEndTransaction);
editor->nUndoMode = umAddBackToUndo;
......
......@@ -1901,7 +1901,7 @@ unsigned char * WINAPI NdrPointerMarshall(PMIDL_STUB_MESSAGE pStubMsg,
TRACE("(%p,%p,%p)\n", pStubMsg, pMemory, pFormat);
/* incremement the buffer here instead of in PointerMarshall,
/* Increment the buffer here instead of in PointerMarshall,
* as that is used by embedded pointers which already handle the incrementing
* the buffer, and shouldn't write any additional pointer data to the wire */
if (*pFormat != RPC_FC_RP)
......
......@@ -448,7 +448,7 @@ static void client_do_args_old_format(PMIDL_STUB_MESSAGE pStubMsg,
/* counter */
unsigned short i;
/* NOTE: V1 style format does't terminate on the number_of_params
/* NOTE: V1 style format doesn't terminate on the number_of_params
* condition as it doesn't have this attribute. Instead it
* terminates when the stack size given in the header is exceeded.
*/
......@@ -837,7 +837,7 @@ LONG_PTR WINAPIV NdrClientCall2(PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
return RetVal;
}
/* calls a function with the specificed arguments, restoring the stack
/* Calls a function with the specified arguments, restoring the stack
* properly afterwards as we don't know the calling convention of the
* function */
#if defined __i386__ && defined _MSC_VER
......
......@@ -35,7 +35,7 @@ typedef struct _NDR_PROC_HEADER
* RPC_FC_BIND_PRIMITIVE = 32 - Implicit handle using handle_t created by
* calling application
* RPC_FC_AUTO_HANDLE = 33 - Automatic handle
* RPC_FC_CALLBACK_HANDLE = 34 - undocmented
* RPC_FC_CALLBACK_HANDLE = 34 - undocumented
*/
unsigned char handle_type;
......
......@@ -265,7 +265,7 @@ int WINAPI UuidEqual(UUID *Uuid1, UUID *Uuid2, RPC_STATUS *Status)
*
* PARAMS
* UUID *Uuid [I] Uuid to compare
* RPC_STATUS *Status [O] retuns RPC_S_OK
* RPC_STATUS *Status [O] returns RPC_S_OK
*
* RETURNS
* TRUE/FALSE
......
......@@ -23,4 +23,4 @@
HANDLE RPC_RpcssNPConnect(void);
BOOL RPCRT4_SendReceiveNPMsg(HANDLE, PRPCSS_NP_MESSAGE, char *, PRPCSS_NP_REPLY);
#endif /* __RPCSS_NP_CLINET_H */
#endif /* __RPCSS_NP_CLIENT_H */
......@@ -698,7 +698,7 @@ todo_wine {
my_alloc_called = 0;
ok(StubMsg.MemorySize == 0, "%s: memorysize touched in unmarshal\n", msgpfx);
/* if we're a server we still use the suppiled memory */
/* If we're a server we still use the supplied memory */
StubMsg.Buffer = StubMsg.BufferStart;
StubMsg.IsClient = 0;
ptr = NdrSimpleStructUnmarshall( &StubMsg, &mem, formattypes, 0 );
......
......@@ -367,7 +367,7 @@ fast_s_mp_mul_digs (const mp_int * a, const mp_int * b, mp_int * c, int digs)
tmpx = a->dp + tx;
tmpy = b->dp + ty;
/* this is the number of times the loop will iterrate, essentially its
/* This is the number of times the loop will iterate, essentially it's
while (tx++ < a->used && ty-- >= 0) { ... }
*/
iy = MIN(a->used-tx, ty+1);
......@@ -444,7 +444,7 @@ fast_s_mp_mul_high_digs (const mp_int * a, const mp_int * b, mp_int * c, int dig
tmpx = a->dp + tx;
tmpy = b->dp + ty;
/* this is the number of times the loop will iterrate, essentially its
/* This is the number of times the loop will iterate, essentially it's
while (tx++ < a->used && ty-- >= 0) { ... }
*/
iy = MIN(a->used-tx, ty+1);
......@@ -544,7 +544,7 @@ int fast_s_mp_sqr (const mp_int * a, mp_int * b)
tmpx = a->dp + tx;
tmpy = a->dp + ty;
/* this is the number of times the loop will iterrate, essentially its
/* This is the number of times the loop will iterate, essentially it's
while (tx++ < a->used && ty-- >= 0) { ... }
*/
iy = MIN(a->used-tx, ty+1);
......@@ -2259,7 +2259,7 @@ __ERR:mp_clear_multi (&x, &y, &u, &v, &A, &B, &C, &D, NULL);
* are saved. Note also that the call to mp_mul can end up back
* in this function if the a0, a1, b0, or b1 are above the threshold.
* This is known as divide-and-conquer and leads to the famous
* O(N**lg(3)) or O(N**1.584) work which is asymptopically lower than
* O(N**lg(3)) or O(N**1.584) work which is asymptotically lower than
* the standard O(N**2) that the baseline/comba methods use.
* Generally though the overhead of this method doesn't pay off
* until a certain size (N ~ 80) is reached.
......
......@@ -70,7 +70,7 @@ int rc2_setup(const unsigned char *key, int keylen, int bits, int rounds, rc2_ke
* key schedule. One which is normal, and anther which has a hook to
* use a reduced key length.
* BSAFE uses the 'retarded' version. What I previously shipped is
* the same as specifying 1024 for the 'bits' parameter. Bsafe uses
* the same as specifying 1024 for the 'bits' parameter. BSAFE uses
* a version where the bits parameter is the same as len*8 */
/* Seems like MS uses the 'retarded' version, too.
* Adjust effective keylen bits */
......
......@@ -147,8 +147,8 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
twCC = TWCC_CAPUNSUPPORTED;
break;
case CAP_XFERCOUNT:
/* This is a required capability that every source need to
support but we havev't implemented yet. */
/* This is a required capability that every source needs to
support but we haven't implemented it yet. */
twCC = TWCC_SUCCESS;
break;
/*case ICAP_COMPRESSION:*/
......
......@@ -70,7 +70,7 @@ struct tagActiveDS
BOOL sane_param_valid; /* true if valid sane_param*/
INT deviceIndex; /* index of the current device */
#endif
/* Capabiblities */
/* Capabilities */
TW_UINT16 capXferMech; /* ICAP_XFERMECH */
} activeDS;
......
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