Spelling fixes.
authorAustin English <austinenglish@gmail.com>
Fri, 4 Apr 2008 19:23:01 +0000 (14:23 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 7 Apr 2008 11:36:17 +0000 (13:36 +0200)
13 files changed:
dlls/ddraw/main.c
dlls/ddraw/tests/visual.c
dlls/dplayx/dplayx_global.c
dlls/iphlpapi/iphlpapi_main.c
dlls/mapi32/prop.c
dlls/mciseq/mcimidi.c
dlls/mciwave/mciwave.c
dlls/mpr/pwcache.c
dlls/msadp32.acm/msadp32.c
dlls/mshtml/editor.c
dlls/mshtml/htmlnode.c
dlls/mshtml/service.c
dlls/mshtml/tests/htmldoc.c

index 76706eca2c287e9bce066b336f9d025a2a186a25..ac1378d2a3d9323559b115e370697d0a34f71ec7 100644 (file)
@@ -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));
index def235ffde91cd8a8b79c0c0f2260861e37d6af0..41d6062f5c479052ddc5b1638bb618aca267b7eb 100644 (file)
@@ -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);
     }
 
index 96f67769ca9debfeabc6f59172668ae1d5d9803c..f15c65f2c783f3d2cb032d25e450b517b174ff6a 100644 (file)
@@ -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
  */
index 764ae58dfd3b70ece9f996971df88db55f788edc..d01fe28ed1ea757d30f33f2441aa238635170d61 100644 (file)
@@ -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
index e30a83bb3111644cab666c51da493a87a52b0ef1..bd907911c82af797664b2b41c293a742f85d320c 100644 (file)
@@ -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.
index 92f503919fab55363b2fe2c7199d2005ef77c78a..171142d0699a97681a74dc8245e14289d6ab4b16 100644 (file)
@@ -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);
index 7dfedcaa8486ffe28f005a7c829dec5fffe0ab42..75b85d56309f7aa2ab3bc55bdcb7a69bd3e19f16 100644 (file)
@@ -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)
      */
index a760dd26d25272eab448b3cbc66d1608b2d9b3ca..8e3c1911f1fd0ce5d8217d0d4a8e68e969cb1366 100644 (file)
@@ -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 
index f0394accad6be289788d123703850ac63d247e36..49188367389f237c6451b1f98f2c583e0fd855f0 100644 (file)
@@ -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)
index 12f2c35107c894985da4b39a47c51033326b63e9..756898ab95a3a120b8cca36ebf862c51fb4b37f2 100644 (file)
@@ -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);
     }
index c165aa76bdd271b93e9ef44c89ff160b058dd4d2..1633baa966dc78029f3bff3c1543ed0a8e26a507 100644 (file)
@@ -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)
index a74729ee026233da0468eaea4c2f004ea664d0eb..f2d619e161070600e372fce8584372eeb70784af 100644 (file)
@@ -204,7 +204,7 @@ static IOleUndoManager *create_undomgr(void)
 }
 
 /**********************************************************
- * IServiceProvider impementation
+ * IServiceProvider implementation
  */
 
 #define SERVPROV_THIS(iface) DEFINE_THIS(HTMLDocument, ServiceProvider, iface)
index d21b0c5ef8e02b9a927ee6a006a2b972d9114c71..9f1d73d05da3fd8b260bc19fd6408d98ddaad876 100644 (file)
@@ -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);