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));
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);
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);
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);
}
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
*/
/******************************************************************
* IpRenewAddress (IPHLPAPI.@)
*
- * Renew an IP optained through DHCP.
+ * Renew an IP obtained through DHCP.
*
* PARAMS
* AdapterInfo [In] adapter to renew IP address
* 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
* 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
/**************************************************************************
* 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
* 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.
Sleep(10);
}
- /* sanitiy reset */
+ /* sanity reset */
wmm->dwStatus = MCI_MODE_STOP;
TRACE("wmm->dwStatus=%d\n", wmm->dwStatus);
/* 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)
*/
* 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
* 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
/* 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)
/* 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)
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);
}
/*
* 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)
}
/**********************************************************
- * IServiceProvider impementation
+ * IServiceProvider implementation
*/
#define SERVPROV_THIS(iface) DEFINE_THIS(HTMLDocument, ServiceProvider, iface)
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);