diff --git a/dlls/ddraw/main.c b/dlls/ddraw/main.c index 76706eca2c2..ac1378d2a3d 100644 --- a/dlls/ddraw/main.c +++ b/dlls/ddraw/main.c @@ -941,7 +941,7 @@ DllMain(HINSTANCE hInstDLL, WARN("DDraw %p has a refcount of %d\n", ddraw, ddraw->ref7 + ddraw->ref4 + ddraw->ref3 + ddraw->ref2 + ddraw->ref1); - /* Add references to each interface to avoid freeing them unexpectadely */ + /* Add references to each interface to avoid freeing them unexpectedly */ IDirectDraw_AddRef(ICOM_INTERFACE(ddraw, IDirectDraw)); IDirectDraw2_AddRef(ICOM_INTERFACE(ddraw, IDirectDraw2)); IDirectDraw3_AddRef(ICOM_INTERFACE(ddraw, IDirectDraw3)); diff --git a/dlls/ddraw/tests/visual.c b/dlls/ddraw/tests/visual.c index def235ffde9..41d6062f5c4 100644 --- a/dlls/ddraw/tests/visual.c +++ b/dlls/ddraw/tests/visual.c @@ -1970,7 +1970,7 @@ static void p8_primary_test() hr = IDirectDrawSurface_BltFast(offscreen, 0, 0, Surface1, NULL, 0); ok(hr==DD_OK, "IDirectDrawSurface_BltFast returned: %x\n", hr); - /* This ensures offscreen surface contens will be downloaded to system memory. */ + /* This ensures offscreen surface contents will be downloaded to system memory. */ memset(&ddsd, 0, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd); hr = IDirectDrawSurface_Lock(offscreen, NULL, &ddsd, DDLOCK_WAIT, NULL); @@ -1986,7 +1986,7 @@ static void p8_primary_test() hr = IDirectDrawSurface_BltFast(offscreen, 600, 400, Surface1, &rect, 0); ok(hr==DD_OK, "IDirectDrawSurface_BltFast returned: %x\n", hr); - /* This ensures offscreen surface contens will be downloaded to system memory. */ + /* This ensures offscreen surface contents will be downloaded to system memory. */ memset(&ddsd, 0, sizeof(ddsd)); ddsd.dwSize = sizeof(ddsd); hr = IDirectDrawSurface_Lock(offscreen, NULL, &ddsd, DDLOCK_WAIT, NULL); @@ -2015,8 +2015,8 @@ static void p8_primary_test() hr = IDirectDrawSurface_Unlock(Surface1, NULL); ok(hr==DD_OK, "IDirectDrawSurface_UnLock returned: %x\n", hr); - ok(differences == 0, i2 == 0 ? "Pass 1. Unexpected front buffer contens after blit (%u differences)\n" : - "Pass 2 (with NULL front buffer palette). Unexpected front buffer contens after blit (%u differences)\n", + ok(differences == 0, i2 == 0 ? "Pass 1. Unexpected front buffer contents after blit (%u differences)\n" : + "Pass 2 (with NULL front buffer palette). Unexpected front buffer contents after blit (%u differences)\n", differences); } diff --git a/dlls/dplayx/dplayx_global.c b/dlls/dplayx/dplayx_global.c index 96f67769ca9..f15c65f2c78 100644 --- a/dlls/dplayx/dplayx_global.c +++ b/dlls/dplayx/dplayx_global.c @@ -910,7 +910,7 @@ HRESULT DPLAYX_SetConnectionSettingsA return DP_OK; } -/* Store the structure into the shared data structre. Ensure that allocs for +/* Store the structure into the shared data structure. Ensure that allocs for * variable length strings come from the shared data structure. * FIXME: We need to free information as well */ diff --git a/dlls/iphlpapi/iphlpapi_main.c b/dlls/iphlpapi/iphlpapi_main.c index 764ae58dfd3..d01fe28ed1e 100644 --- a/dlls/iphlpapi/iphlpapi_main.c +++ b/dlls/iphlpapi/iphlpapi_main.c @@ -1797,7 +1797,7 @@ DWORD WINAPI IpReleaseAddress(PIP_ADAPTER_INDEX_MAP AdapterInfo) /****************************************************************** * IpRenewAddress (IPHLPAPI.@) * - * Renew an IP optained through DHCP. + * Renew an IP obtained through DHCP. * * PARAMS * AdapterInfo [In] adapter to renew IP address @@ -1851,7 +1851,7 @@ DWORD WINAPI NotifyAddrChange(PHANDLE Handle, LPOVERLAPPED overlapped) * Notify caller whenever the ip routing table is changed. * * PARAMS - * Handle [Out] handle useable in asynchronus notification + * Handle [Out] handle usable in asynchronous notification * overlapped [In] overlapped structure that notifies the caller * * RETURNS diff --git a/dlls/mapi32/prop.c b/dlls/mapi32/prop.c index e30a83bb311..bd907911c82 100644 --- a/dlls/mapi32/prop.c +++ b/dlls/mapi32/prop.c @@ -1579,7 +1579,7 @@ static inline ULONG WINAPI IMAPIProp_fnRelease(LPMAPIPROP iface) * NOTES * - If this function succeeds, the returned information in *lppError must be * freed using MAPIFreeBuffer() once the caller is finished with it. - * - It is possible for this function to suceed and set *lppError to NULL, + * - It is possible for this function to succeed and set *lppError to NULL, * if there is no further information to report about hRes. */ static inline HRESULT WINAPI @@ -1598,7 +1598,7 @@ IMAPIProp_fnGetLastError(LPMAPIPROP iface, HRESULT hRes, /************************************************************************** * IMAPIProp_SaveChanges {MAPI32} * - * Update any changes made to a tansactional IMAPIProp object. + * Update any changes made to a transactional IMAPIProp object. * * PARAMS * iface [I] IMAPIProp object to update @@ -1701,7 +1701,7 @@ IMAPIProp_fnGetProps(LPMAPIPROP iface, LPSPropTagArray lpTags, * iface [I] IMAPIProp object to get the property tag list from * ulFlags [I] Return 0=Ascii MAPI_UNICODE=Unicode strings for * unspecified types - * lppTags [O] Destination for the retrieved peoperty tag list + * lppTags [O] Destination for the retrieved property tag list * * RETURNS * Success: S_OK. *lppTags contains the tags for all available properties. diff --git a/dlls/mciseq/mcimidi.c b/dlls/mciseq/mcimidi.c index 92f503919fa..171142d0699 100644 --- a/dlls/mciseq/mcimidi.c +++ b/dlls/mciseq/mcimidi.c @@ -827,7 +827,7 @@ static DWORD MIDI_mciStop(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParm Sleep(10); } - /* sanitiy reset */ + /* sanity reset */ wmm->dwStatus = MCI_MODE_STOP; TRACE("wmm->dwStatus=%d\n", wmm->dwStatus); diff --git a/dlls/mciwave/mciwave.c b/dlls/mciwave/mciwave.c index 7dfedcaa848..75b85d56309 100644 --- a/dlls/mciwave/mciwave.c +++ b/dlls/mciwave/mciwave.c @@ -784,7 +784,7 @@ static DWORD WAVE_mciPlay(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lp /* go back to beginning of chunk plus the requested position */ /* FIXME: I'm not sure this is correct, notably because some data linked to - * the decompression state machine will not be correcly initialized. + * the decompression state machine will not be correctly initialized. * try it this way (other way would be to decompress from 0 up to dwPosition * and to start sending to hWave when dwPosition is reached) */ diff --git a/dlls/mpr/pwcache.c b/dlls/mpr/pwcache.c index a760dd26d25..8e3c1911f1f 100644 --- a/dlls/mpr/pwcache.c +++ b/dlls/mpr/pwcache.c @@ -74,7 +74,7 @@ static LPSTR MPR_GetValueName( LPCSTR pbResource, WORD cbResource, BYTE nType ) * WNetCachePassword [MPR.@] Saves password in cache * * NOTES - * only the parameter count is verifyed + * Only the parameter count is verified * * ---- everything below this line might be wrong (js) ----- * RETURNS @@ -221,7 +221,7 @@ DWORD WINAPI WNetGetCachedPassword( * WNetEnumCachedPasswords [MPR.@] * * NOTES - * the parameter count is verifyed + * The parameter count is verified * * This function is a huge security risk, as virii and such can use * it to grab all the passwords in the cache. It's bad enough to diff --git a/dlls/msadp32.acm/msadp32.c b/dlls/msadp32.acm/msadp32.c index f0394accad6..49188367389 100644 --- a/dlls/msadp32.acm/msadp32.c +++ b/dlls/msadp32.acm/msadp32.c @@ -548,7 +548,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi) /* we check that in a block, after the header, samples are present on * 4-sample packet pattern - * we also check that the block alignement is bigger than the expected size + * we also check that the block alignment is bigger than the expected size */ if (((nspb - 1) & 3) != 0) goto theEnd; if ((((nspb - 1) / 2) + 4) * adsi->pwfxSrc->nChannels < adsi->pwfxSrc->nBlockAlign) @@ -575,7 +575,7 @@ static LRESULT ADPCM_StreamOpen(PACMDRVSTREAMINSTANCE adsi) /* we check that in a block, after the header, samples are present on * 4-sample packet pattern - * we also check that the block alignement is bigger than the expected size + * we also check that the block alignment is bigger than the expected size */ if (((nspb - 1) & 3) != 0) goto theEnd; if ((((nspb - 1) / 2) + 4) * adsi->pwfxDst->nChannels < adsi->pwfxDst->nBlockAlign) diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c index 12f2c35107c..756898ab95a 100644 --- a/dlls/mshtml/editor.c +++ b/dlls/mshtml/editor.c @@ -387,7 +387,7 @@ static void set_font_size(HTMLDocument *This, LPCWSTR size) if(collapsed) { nsISelection_Collapse(nsselection, (nsIDOMNode*)elem, 0); }else { - /* Remove all size attrbutes from the range */ + /* Remove all size attributes from the range */ remove_child_attr(elem, wszFont, &size_str); nsISelection_SelectAllChildren(nsselection, (nsIDOMNode*)elem); } diff --git a/dlls/mshtml/htmlnode.c b/dlls/mshtml/htmlnode.c index c165aa76bdd..1633baa966d 100644 --- a/dlls/mshtml/htmlnode.c +++ b/dlls/mshtml/htmlnode.c @@ -371,7 +371,7 @@ static HTMLDOMNode *create_node(HTMLDocument *doc, nsIDOMNode *nsnode) /* * FIXME * List looks really ugly here. We should use a better data structure or - * (better) find a way to store HTMLDOMelement poiner in nsIDOMNode. + * (better) find a way to store HTMLDOMelement pointer in nsIDOMNode. */ HTMLDOMNode *get_node(HTMLDocument *This, nsIDOMNode *nsnode) diff --git a/dlls/mshtml/service.c b/dlls/mshtml/service.c index a74729ee026..f2d619e1610 100644 --- a/dlls/mshtml/service.c +++ b/dlls/mshtml/service.c @@ -204,7 +204,7 @@ static IOleUndoManager *create_undomgr(void) } /********************************************************** - * IServiceProvider impementation + * IServiceProvider implementation */ #define SERVPROV_THIS(iface) DEFINE_THIS(HTMLDocument, ServiceProvider, iface) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index d21b0c5ef8e..9f1d73d05da 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -3742,7 +3742,7 @@ static void test_HTMLDocument(BOOL do_load) test_Window(unk, TRUE); test_InPlaceDeactivate(unk, TRUE); - /* Calling test_OleCommandTarget here couses Segmentation Fault with native + /* Calling test_OleCommandTarget here causes Segmentation Fault with native * MSHTML. It doesn't with Wine. */ test_Window(unk, FALSE);