From 313a85f1630d2fc2f69815a6cf43e42e0c4829f8 Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 10 Apr 2008 21:17:14 -0500 Subject: [PATCH] Spelling fixes. --- dlls/opengl32/tests/opengl.c | 4 ++-- dlls/quartz/control.c | 2 +- dlls/quartz/filesource.c | 2 +- dlls/quartz/mpegsplit.c | 2 +- dlls/quartz/videorenderer.c | 2 +- dlls/riched20/paint.c | 4 ++-- dlls/riched20/style.c | 2 +- dlls/riched20/tests/editor.c | 4 ++-- dlls/riched20/undo.c | 4 ++-- dlls/rpcrt4/ndr_marshall.c | 2 +- dlls/rpcrt4/ndr_stubless.c | 4 ++-- dlls/rpcrt4/ndr_stubless.h | 2 +- dlls/rpcrt4/rpcrt4_main.c | 2 +- dlls/rpcrt4/rpcss_np_client.h | 2 +- dlls/rpcrt4/tests/ndr_marshall.c | 2 +- dlls/rsaenh/mpi.c | 8 ++++---- dlls/rsaenh/rc2.c | 2 +- dlls/sane.ds/capability.c | 4 ++-- dlls/sane.ds/sane_i.h | 2 +- 19 files changed, 28 insertions(+), 28 deletions(-) diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c index 29f9ccec7d8..1a3b7706165 100644 --- a/dlls/opengl32/tests/opengl.c +++ b/dlls/opengl32/tests/opengl.c @@ -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. diff --git a/dlls/quartz/control.c b/dlls/quartz/control.c index fcd86d23f29..63bc3719339 100644 --- a/dlls/quartz/control.c +++ b/dlls/quartz/control.c @@ -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) diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c index 2bb5fa7e7a8..d31e1502e51 100644 --- a/dlls/quartz/filesource.c +++ b/dlls/quartz/filesource.c @@ -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) { diff --git a/dlls/quartz/mpegsplit.c b/dlls/quartz/mpegsplit.c index 8daafea8a2c..9af8973bba9 100644 --- a/dlls/quartz/mpegsplit.c +++ b/dlls/quartz/mpegsplit.c @@ -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; diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c index 4c06c445658..48faf55d8ec 100644 --- a/dlls/quartz/videorenderer.c +++ b/dlls/quartz/videorenderer.c @@ -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); } diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c index d5cb3c7d504..625f7dd97cb 100644 --- a/dlls/riched20/paint.c +++ b/dlls/riched20/paint.c @@ -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. */ diff --git a/dlls/riched20/style.c b/dlls/riched20/style.c index 43b2a96ad46..8ede1e246ce 100644 --- a/dlls/riched20/style.c +++ b/dlls/riched20/style.c @@ -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; diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c index 090eaad0320..f8a3d6a956c 100644 --- a/dlls/riched20/tests/editor.c +++ b/dlls/riched20/tests/editor.c @@ -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) { diff --git a/dlls/riched20/undo.c b/dlls/riched20/undo.c index 426daf4ba1f..43f88103758 100644 --- a/dlls/riched20/undo.c +++ b/dlls/riched20/undo.c @@ -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; diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 8e9ea5cf20c..5841dc91a3c 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -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) diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c index 347db48cfac..06a7afab6c4 100644 --- a/dlls/rpcrt4/ndr_stubless.c +++ b/dlls/rpcrt4/ndr_stubless.c @@ -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 diff --git a/dlls/rpcrt4/ndr_stubless.h b/dlls/rpcrt4/ndr_stubless.h index 6ee5ff6d186..35a228d2094 100644 --- a/dlls/rpcrt4/ndr_stubless.h +++ b/dlls/rpcrt4/ndr_stubless.h @@ -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; diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c index 0fddc287c2b..8e565afdfc4 100644 --- a/dlls/rpcrt4/rpcrt4_main.c +++ b/dlls/rpcrt4/rpcrt4_main.c @@ -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 diff --git a/dlls/rpcrt4/rpcss_np_client.h b/dlls/rpcrt4/rpcss_np_client.h index db65d432bca..b00066de518 100644 --- a/dlls/rpcrt4/rpcss_np_client.h +++ b/dlls/rpcrt4/rpcss_np_client.h @@ -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 */ diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c index 6987b557bab..5419f73a0e6 100644 --- a/dlls/rpcrt4/tests/ndr_marshall.c +++ b/dlls/rpcrt4/tests/ndr_marshall.c @@ -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 ); diff --git a/dlls/rsaenh/mpi.c b/dlls/rsaenh/mpi.c index 45c3b94d600..23207dd3795 100644 --- a/dlls/rsaenh/mpi.c +++ b/dlls/rsaenh/mpi.c @@ -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. diff --git a/dlls/rsaenh/rc2.c b/dlls/rsaenh/rc2.c index 82b7bd3d694..6b0d2a5689c 100644 --- a/dlls/rsaenh/rc2.c +++ b/dlls/rsaenh/rc2.c @@ -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 */ diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c index ad6a166a8b6..6b6867e02a6 100644 --- a/dlls/sane.ds/capability.c +++ b/dlls/sane.ds/capability.c @@ -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:*/ diff --git a/dlls/sane.ds/sane_i.h b/dlls/sane.ds/sane_i.h index 11b6eeb9e20..c1f0bee1be6 100644 --- a/dlls/sane.ds/sane_i.h +++ b/dlls/sane.ds/sane_i.h @@ -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;