Commit f4c4488d authored by Austin English's avatar Austin English Committed by Alexandre Julliard

Spelling fixes.

parent bc325ac2
......@@ -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));
......
......@@ -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);
}
......
......@@ -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
*/
......
......@@ -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
......
......@@ -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.
......
......@@ -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);
......
......@@ -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)
*/
......
......@@ -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
......
......@@ -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)
......
......@@ -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);
}
......
......@@ -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)
......
......@@ -204,7 +204,7 @@ static IOleUndoManager *create_undomgr(void)
}
/**********************************************************
* IServiceProvider impementation
* IServiceProvider implementation
*/
#define SERVPROV_THIS(iface) DEFINE_THIS(HTMLDocument, ServiceProvider, iface)
......
......@@ -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);
......
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