dlls: Assorted spelling fixes

Frédéric Delanoy frederic.delanoy at gmail.com
Tue Aug 2 15:20:32 CDT 2011


---
 dlls/mlang/mlang.c                |    2 +-
 dlls/mscms/icc.c                  |   16 ++++++++--------
 dlls/mscms/profile.c              |    2 +-
 dlls/msctf/compartmentmgr.c       |    2 +-
 dlls/msdaps/usrmarshal.c          |    2 +-
 dlls/msg711.acm/msg711.c          |    4 ++--
 dlls/mshtml/protocol.c            |    6 +++---
 dlls/msi/package.c                |    2 +-
 dlls/msi/tokenize.c               |    2 +-
 dlls/msvcrt/console.c             |    2 +-
 dlls/msvcrt/math.c                |    2 +-
 dlls/mswsock/mswsock.c            |    8 ++++----
 dlls/ntdll/rtl.c                  |    6 +++---
 dlls/ole32/compobj_private.h      |    2 +-
 dlls/ole32/hglobalstream.c        |    2 +-
 dlls/ole32/ole32_main.c           |    4 ++--
 dlls/oleaut32/safearray.c         |    2 +-
 dlls/oleaut32/typelib.c           |    2 +-
 dlls/oleaut32/variant.c           |    2 +-
 dlls/riched20/paint.c             |    4 ++--
 dlls/riched20/undo.c              |    2 +-
 dlls/rpcrt4/ndr_stubless.c        |    4 ++--
 dlls/rpcrt4/rpc_server.c          |    2 +-
 dlls/rsaenh/mpi.c                 |    4 ++--
 dlls/rsaenh/rsaenh.c              |    2 +-
 dlls/setupapi/devinst.c           |    6 +++---
 dlls/shdocvw/shlinstobj.c         |    8 ++++----
 dlls/shell32/shellole.c           |    2 +-
 dlls/shell32/shlmenu.c            |    4 ++--
 dlls/shell32/shlview.c            |    6 +++---
 dlls/shell32/trash.c              |    4 ++--
 dlls/shlwapi/ordinal.c            |    2 +-
 dlls/shlwapi/resource.h           |    2 +-
 dlls/storage.dll16/storage.c      |    8 ++++----
 dlls/strmbase/pin.c               |    2 +-
 dlls/tapi32/line.c                |    2 +-
 dlls/urlmon/sec_mgr.c             |    2 +-
 dlls/user32/text.c                |    4 ++--
 dlls/usp10/bidi.c                 |   36 ++++++++++++++++++------------------
 dlls/usp10/breaking.c             |    4 ++--
 dlls/usp10/shape.c                |    2 +-
 dlls/wer/main.c                   |    6 +++---
 dlls/winealsa.drv/midi.c          |    2 +-
 dlls/wined3d/arb_program_shader.c |    6 +++---
 dlls/wined3d/device.c             |    4 ++--
 dlls/wined3d/directx.c            |    4 ++--
 dlls/wined3d/gl_compat.c          |    2 +-
 dlls/wined3d/state.c              |    2 +-
 dlls/wined3d/utils.c              |    2 +-
 dlls/wineoss.drv/midi.c           |    2 +-
 dlls/winex11.drv/dib_convert.c    |    2 +-
 dlls/winex11.drv/dib_dst_swap.c   |    2 +-
 dlls/winex11.drv/dib_src_swap.c   |    2 +-
 dlls/winex11.drv/ime.c            |    4 ++--
 dlls/winex11.drv/keyboard.c       |    4 ++--
 dlls/winex11.drv/wintab.c         |    6 +++---
 dlls/winex11.drv/xim.c            |    2 +-
 dlls/wldap32/init.c               |   26 +++++++++++++-------------
 dlls/ws2_32/socket.c              |    2 +-
 59 files changed, 131 insertions(+), 131 deletions(-)

diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index e8fa09b..2c6e6f7 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -2940,7 +2940,7 @@ static HRESULT WINAPI fnIMultiLanguage2_GetRfc1766Info(
 
     if ((PRIMARYLANGID(LangId) != LANG_ENGLISH) &&
         (last_lang != LangId)) {
-        FIXME("Only english names supported (requested: 0x%04x)\n", LangId);
+        FIXME("Only English names supported (requested: 0x%04x)\n", LangId);
         last_lang = LangId;
     }
 
diff --git a/dlls/mscms/icc.c b/dlls/mscms/icc.c
index 67b65ed..f751c70 100644
--- a/dlls/mscms/icc.c
+++ b/dlls/mscms/icc.c
@@ -33,7 +33,7 @@
 
 #ifdef HAVE_LCMS
 
-static inline void MSCMS_adjust_endianess32( ULONG *ptr )
+static inline void MSCMS_adjust_endianness32( ULONG *ptr )
 {
 #ifndef WORDS_BIGENDIAN
     *ptr = RtlUlongByteSwap(*ptr);
@@ -48,7 +48,7 @@ void MSCMS_get_profile_header( const icProfile *iccprofile, PROFILEHEADER *heade
 
     /* ICC format is big-endian, swap bytes if necessary */
     for (i = 0; i < sizeof(PROFILEHEADER) / sizeof(ULONG); i++)
-        MSCMS_adjust_endianess32( (ULONG *)header + i );
+        MSCMS_adjust_endianness32( (ULONG *)header + i );
 }
 
 void MSCMS_set_profile_header( icProfile *iccprofile, const PROFILEHEADER *header )
@@ -60,14 +60,14 @@ void MSCMS_set_profile_header( icProfile *iccprofile, const PROFILEHEADER *heade
 
     /* ICC format is big-endian, swap bytes if necessary */
     for (i = 0; i < sizeof(icHeader) / sizeof(ULONG); i++)
-        MSCMS_adjust_endianess32( (ULONG *)iccheader + i );
+        MSCMS_adjust_endianness32( (ULONG *)iccheader + i );
 }
 
 DWORD MSCMS_get_tag_count( const icProfile *iccprofile )
 {
     ULONG count = iccprofile->count;
 
-    MSCMS_adjust_endianess32( &count );
+    MSCMS_adjust_endianness32( &count );
     return count;
 }
 
@@ -79,9 +79,9 @@ void MSCMS_get_tag_by_index( icProfile *iccprofile, DWORD index, icTag *tag )
     tag->offset = tmp->offset;
     tag->size = tmp->size;
 
-    MSCMS_adjust_endianess32( &tag->sig );
-    MSCMS_adjust_endianess32( &tag->offset );
-    MSCMS_adjust_endianess32( &tag->size );
+    MSCMS_adjust_endianness32( &tag->sig );
+    MSCMS_adjust_endianness32( &tag->offset );
+    MSCMS_adjust_endianness32( &tag->size );
 }
 
 void MSCMS_get_tag_data( const icProfile *iccprofile, const icTag *tag, DWORD offset, void *buffer )
@@ -98,7 +98,7 @@ DWORD MSCMS_get_profile_size( const icProfile *iccprofile )
 {
     DWORD size = ((const icHeader *)iccprofile)->size;
 
-    MSCMS_adjust_endianess32( &size );
+    MSCMS_adjust_endianness32( &size );
     return size;
 }
 
diff --git a/dlls/mscms/profile.c b/dlls/mscms/profile.c
index 49fc24b..7fc94be 100644
--- a/dlls/mscms/profile.c
+++ b/dlls/mscms/profile.c
@@ -497,7 +497,7 @@ BOOL WINAPI GetColorProfileFromHandle( HPROFILE handle, PBYTE buffer, PDWORD siz
  *  Failure: FALSE
  *
  * NOTES
- *  The profile header returned will be adjusted for endianess.
+ *  The profile header returned will be adjusted for endianness.
  */
 BOOL WINAPI GetColorProfileHeader( HPROFILE handle, PPROFILEHEADER header )
 {
diff --git a/dlls/msctf/compartmentmgr.c b/dlls/msctf/compartmentmgr.c
index 4f6408d..bb55d69 100644
--- a/dlls/msctf/compartmentmgr.c
+++ b/dlls/msctf/compartmentmgr.c
@@ -284,7 +284,7 @@ HRESULT CompartmentMgr_Constructor(IUnknown *pUnkOuter, REFIID riid, IUnknown **
 }
 
 /**************************************************
- * IEnumGUID implementaion for ITfCompartmentMgr::EnumCompartments
+ * IEnumGUID implementation for ITfCompartmentMgr::EnumCompartments
  **************************************************/
 static void CompartmentEnumGuid_Destructor(CompartmentEnumGuid *This)
 {
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index 0f2517d..7b983f3 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -1,5 +1,5 @@
 /*
- *    Misc marshaling routinues
+ *    Misc marshaling routines
  *
  * Copyright 2009 Huw Davies
  *
diff --git a/dlls/msg711.acm/msg711.c b/dlls/msg711.acm/msg711.c
index d527e91..db06905 100644
--- a/dlls/msg711.acm/msg711.c
+++ b/dlls/msg711.acm/msg711.c
@@ -131,7 +131,7 @@ static	DWORD	G711_GetFormatIndex(const WAVEFORMATEX *wfx)
 /***********************************************************************
  *           R16
  *
- * Read a 16 bit sample (correctly handles endianess)
+ * Read a 16 bit sample (correctly handles endianness)
  */
 static inline short  R16(const unsigned char* src)
 {
@@ -141,7 +141,7 @@ static inline short  R16(const unsigned char* src)
 /***********************************************************************
  *           W16
  *
- * Write a 16 bit sample (correctly handles endianess)
+ * Write a 16 bit sample (correctly handles endianness)
  */
 static inline void  W16(unsigned char* dst, short s)
 {
diff --git a/dlls/mshtml/protocol.c b/dlls/mshtml/protocol.c
index 456c3fd..3891d14 100644
--- a/dlls/mshtml/protocol.c
+++ b/dlls/mshtml/protocol.c
@@ -924,10 +924,10 @@ static HRESULT WINAPI ResProtocolInfo_QueryInfo(IInternetProtocolInfo *iface, LP
         break;
 
     case QUERY_IS_SECURE:
-        FIXME("not supporte QUERY_IS_SECURE\n");
+        FIXME("QUERY_IS_SECURE not supported\n");
         return E_NOTIMPL;
     case QUERY_IS_SAFE:
-        FIXME("not supporte QUERY_IS_SAFE\n");
+        FIXME("QUERY_IS_SAFE not supported\n");
         return E_NOTIMPL;
     default:
         return INET_E_USE_DEFAULT_PROTOCOLHANDLER;
@@ -1009,7 +1009,7 @@ static HRESULT WINAPI JSProtocolInfo_QueryInfo(IInternetProtocolInfo *iface, LPC
         break;
 
     case QUERY_IS_SECURE:
-        FIXME("not supporte QUERY_IS_SECURE\n");
+        FIXME("QUERY_IS_SECURE not supported\n");
         return E_NOTIMPL;
 
     default:
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 560fde3..95c2512 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1230,7 +1230,7 @@ UINT msi_download_file( LPCWSTR szUrl, LPWSTR filename )
     DWORD size = 0;
     HRESULT hr;
 
-    /* call will always fail, becase size is 0,
+    /* call will always fail, because size is 0,
      * but will return ERROR_FILE_NOT_FOUND first
      * if the file doesn't exist
      */
diff --git a/dlls/msi/tokenize.c b/dlls/msi/tokenize.c
index e17ded8..8f6fe0f 100644
--- a/dlls/msi/tokenize.c
+++ b/dlls/msi/tokenize.c
@@ -9,7 +9,7 @@
 **    May you share freely, never taking more than you give.
 **
 *************************************************************************
-** An tokenizer for SQL
+** A tokenizer for SQL
 **
 ** This file contains C code that splits an SQL input string up into
 ** individual tokens and sends those tokens one-by-one over to the
diff --git a/dlls/msvcrt/console.c b/dlls/msvcrt/console.c
index f894e5e..27c0ac2 100644
--- a/dlls/msvcrt/console.c
+++ b/dlls/msvcrt/console.c
@@ -18,7 +18,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  *
  * Note: init and free don't need MT locking since they are called at DLL
- * (de)attachment time, which is syncronised for us
+ * (de)attachment time, which is synchronised for us
  */
 
 #include "msvcrt.h"
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 9cb5988..2e3b4fc 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -1278,7 +1278,7 @@ char * CDECL _ecvt( double number, int ndigits, int *decpt, int *sign )
 {
     int prec, len;
     thread_data_t *data = msvcrt_get_thread_data();
-    /* FIXME: check better for overflow (native supports over 300 chars's) */
+    /* FIXME: check better for overflow (native supports over 300 chars) */
     ndigits = min( ndigits, 80 - 7); /* 7 : space for dec point, 1 for "e",
                                       * 4 for exponent and one for
                                       * terminating '\0' */
diff --git a/dlls/mswsock/mswsock.c b/dlls/mswsock/mswsock.c
index 7998e5a..7851e8a 100644
--- a/dlls/mswsock/mswsock.c
+++ b/dlls/mswsock/mswsock.c
@@ -71,10 +71,10 @@ static void get_fn_pointers(SOCKET s)
  *
  * listener       [I] Listening socket
  * acceptor       [I] Socket to accept on
- * dest           [O] Destination for inital data
+ * dest           [O] Destination for initial data
  * dest_len       [I] Size of dest in bytes
- * local_addr_len [I] Number of bytes reserved in dest for local addrress
- * rem_addr_len   [I] Number of bytes reserved in dest for remote addrress
+ * local_addr_len [I] Number of bytes reserved in dest for local address
+ * rem_addr_len   [I] Number of bytes reserved in dest for remote address
  * received       [O] Destination for number of bytes of initial data
  * overlapped     [I] For asynchronous execution
  *
@@ -99,7 +99,7 @@ BOOL WINAPI AcceptEx(SOCKET listener, SOCKET acceptor, PVOID dest, DWORD dest_le
 /***********************************************************************
  *		GetAcceptExSockaddrs (MSWSOCK.@)
  *
- * Get infomation about an accepted socket.
+ * Get information about an accepted socket.
  *
  * data           [O] Destination for the first block of data from AcceptEx()
  * data_len       [I] length of data in bytes
diff --git a/dlls/ntdll/rtl.c b/dlls/ntdll/rtl.c
index a81c8e7..c430e2d 100644
--- a/dlls/ntdll/rtl.c
+++ b/dlls/ntdll/rtl.c
@@ -860,14 +860,14 @@ void WINAPI RtlCopyLuid (PLUID LuidDest, const LUID *LuidSrc)
 /*************************************************************************
  * RtlEqualLuid   [NTDLL.@]
  *
- * Compare two local unique ID's.
+ * Compare two local unique IDs.
  *
  * PARAMS
  *  Luid1 [I] First Luid to compare to Luid2
  *  Luid2 [I] Second Luid to compare to Luid1
  *
  * RETURNS
- *  TRUE: The two LUID's are equal.
+ *  TRUE: The two LUIDs are equal.
  *  FALSE: Otherwise
  */
 BOOLEAN WINAPI RtlEqualLuid (const LUID *Luid1, const LUID *Luid2)
@@ -879,7 +879,7 @@ BOOLEAN WINAPI RtlEqualLuid (const LUID *Luid1, const LUID *Luid2)
 /*************************************************************************
  * RtlCopyLuidAndAttributesArray   [NTDLL.@]
  *
- * Copy an array of local unique ID's and attributes.
+ * Copy an array of local unique IDs and attributes.
  *
  * PARAMS
  *  Count [I] Number of Luid/attributes in Src
diff --git a/dlls/ole32/compobj_private.h b/dlls/ole32/compobj_private.h
index 624909c..00024ab 100644
--- a/dlls/ole32/compobj_private.h
+++ b/dlls/ole32/compobj_private.h
@@ -138,7 +138,7 @@ struct apartment
   DWORD host_apt_tid;      /* thread ID of apartment hosting objects of differing threading model (CS cs) */
   HWND host_apt_hwnd;      /* handle to apartment window of host apartment (CS cs) */
 
-  /* FIXME: OID's should be given out by RPCSS */
+  /* FIXME: OIDs should be given out by RPCSS */
   OID oidc;                /* object ID counter, starts at 1, zero is invalid OID (CS cs) */
 
   /* STA-only fields */
diff --git a/dlls/ole32/hglobalstream.c b/dlls/ole32/hglobalstream.c
index ef616de..b0055e2 100644
--- a/dlls/ole32/hglobalstream.c
+++ b/dlls/ole32/hglobalstream.c
@@ -217,7 +217,7 @@ static HRESULT WINAPI HGLOBALStreamImpl_Read(
 	pv, cb, pcbRead);
 
   /*
-   * If the caller is not interested in the nubmer of bytes read,
+   * If the caller is not interested in the number of bytes read,
    * we use another buffer to avoid "if" statements in the code.
    */
   if (pcbRead==0)
diff --git a/dlls/ole32/ole32_main.c b/dlls/ole32/ole32_main.c
index 4c68321..97b18a0 100644
--- a/dlls/ole32/ole32_main.c
+++ b/dlls/ole32/ole32_main.c
@@ -104,10 +104,10 @@ HGLOBAL WINAPI OleMetafilePictFromIconAndLabel(HICON hIcon, LPOLESTR lpszLabel,
 	SetWindowOrgEx(hdc, 0, 0, NULL);
 	SetWindowExtEx(hdc, width, label_offset + text_size.cy, NULL);
 
-	/* draw the icon centred */
+	/* draw the icon centered */
 	DrawIcon(hdc, (width-icon_width) / 2, 0, hIcon);
 	if(lpszLabel)
-		/* draw the label centred too, if provided */
+		/* draw the label centered too, if provided */
 		TextOutW(hdc, (width-text_size.cx) / 2, label_offset, lpszLabel, lstrlenW(lpszLabel));
 
 	if (lpszSourceFile)
diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c
index ced885c..57a0d10 100644
--- a/dlls/oleaut32/safearray.c
+++ b/dlls/oleaut32/safearray.c
@@ -1016,7 +1016,7 @@ HRESULT WINAPI SafeArrayGetUBound(SAFEARRAY *psa, UINT nDim, LONG *plUbound)
  *
  * PARAMS
  *  psa      [I] Array to get dimension lower bound from
- *  nDim     [I] The dimension number to get the lowe bound of
+ *  nDim     [I] The dimension number to get the lower bound of
  *  plLbound [O] Destination for the lower bound
  *
  * RETURNS
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 2e286b4..a5b0cdd 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -3879,7 +3879,7 @@ static void SLTG_ProcessModule(char *pBlk, ITypeInfoImpl *pTI,
 }
 
 /* Because SLTG_OtherTypeInfo is such a painful struct, we make a more
-   managable copy of it into this */
+   manageable copy of it into this */
 typedef struct {
   WORD small_no;
   char *index_name;
diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c
index 02dd31c..60407d5 100644
--- a/dlls/oleaut32/variant.c
+++ b/dlls/oleaut32/variant.c
@@ -1607,7 +1607,7 @@ static void VARIANT_GetLocalisedNumberChars(VARIANT_NUMBER_CHARS *lpChars, LCID
  *            from "oleauto.h".
  *
  * FIXME
- *  - I am unsure if this function should parse non-arabic (e.g. Thai)
+ *  - I am unsure if this function should parse non-Arabic (e.g. Thai)
  *   numerals, so this has not been implemented.
  */
 HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index 2be034b..cd85139 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -73,7 +73,7 @@ void ME_PaintContent(ME_TextEditor *editor, HDC hDC, BOOL bOnlyNew, const RECT *
 
     if (!bOnlyNew || (item->member.para.nFlags & MEPF_REPAINT))
     {
-      /* Draw the pargraph if any of the paragraph is in the update region. */
+      /* Draw the paragraph if any of the paragraph is in the update region. */
       if (ys < rcUpdate->bottom && ye > rcUpdate->top)
       {
         ME_DrawParagraph(&c, item);
@@ -1092,7 +1092,7 @@ void ME_ScrollRight(ME_TextEditor *editor, int cx)
   ME_HScrollAbs(editor, editor->horz_si.nPos + cx);
 }
 
-/* Calculates the visiblity after a call to SetScrollRange or
+/* Calculates the visibility after a call to SetScrollRange or
  * SetScrollInfo with SIF_RANGE. */
 static BOOL ME_PostSetScrollRangeVisibility(SCROLLINFO *si)
 {
diff --git a/dlls/riched20/undo.c b/dlls/riched20/undo.c
index 9f43f0a..a101cc1 100644
--- a/dlls/riched20/undo.c
+++ b/dlls/riched20/undo.c
@@ -206,7 +206,7 @@ void ME_CommitUndo(ME_TextEditor *editor) {
 }
 
 /**
- * Groups supsequent changes with previous ones for an undo if coalescing.
+ * Groups subsequent changes with previous ones for an undo if coalescing.
  *
  * Has no effect if the previous changes were followed by a ME_CommitUndo. This
  * function will only have an affect if the previous changes were followed by
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 4e00269..c536427 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -900,7 +900,7 @@ LONG_PTR CDECL ndr_client_call( PMIDL_STUB_DESC pStubDesc, PFORMAT_STRING pForma
                 NdrSendReceive(&stubMsg, stubMsg.Buffer);
         }
 
-        /* convert strings, floating point values and endianess into our
+        /* convert strings, floating point values and endianness into our
          * preferred format */
         if ((rpcMsg.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)
             NdrConvert(&stubMsg, pFormat);
@@ -1721,7 +1721,7 @@ RPC_STATUS NdrpCompleteAsyncClientCall(RPC_ASYNC_STATE *pAsync, void *Reply)
         pStubMsg->Buffer = pStubMsg->BufferStart;
     }
 
-    /* convert strings, floating point values and endianess into our
+    /* convert strings, floating point values and endianness into our
      * preferred format */
 #if 0
     if ((pStubMsg->RpcMsg.DataRepresentation & 0x0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION)
diff --git a/dlls/rpcrt4/rpc_server.c b/dlls/rpcrt4/rpc_server.c
index 9fd4cf6..438338b 100644
--- a/dlls/rpcrt4/rpc_server.c
+++ b/dlls/rpcrt4/rpc_server.c
@@ -1224,7 +1224,7 @@ RPC_STATUS WINAPI RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUu
  *   RPC_S_INVALID_OBJECT     The provided object (nil) is not valid
  *   RPC_S_ALREADY_REGISTERED The provided object is already registered
  *
- * Maps "Object" UUIDs to "Type" UUID's.  Passing the nil UUID as the type
+ * Maps "Object" UUIDs to "Type" UUIDs.  Passing the nil UUID as the type
  * resets the mapping for the specified object UUID to nil (the default).
  * The nil object is always associated with the nil type and cannot be
  * reassigned.  Servers can support multiple implementations on the same
diff --git a/dlls/rsaenh/mpi.c b/dlls/rsaenh/mpi.c
index b1b1c9e..055da3d 100644
--- a/dlls/rsaenh/mpi.c
+++ b/dlls/rsaenh/mpi.c
@@ -1412,7 +1412,7 @@ static int mp_lshd (mp_int * a, int b)
     bottom = a->dp + a->used - 1 - b;
 
     /* much like mp_rshd this is implemented using a sliding window
-     * except the window goes the otherway around.  Copying from
+     * except the window goes the other way around.  Copying from
      * the bottom to the top.  see bn_mp_rshd.c for more info.
      */
     for (x = a->used - 1; x >= b; x--) {
@@ -3663,7 +3663,7 @@ mp_reduce_2k_setup(const mp_int *a, mp_digit *d)
 }
 
 /* pre-calculate the value required for Barrett reduction
- * For a given modulus "b" it calulates the value required in "a"
+ * For a given modulus "b" it calculates the value required in "a"
  */
 int mp_reduce_setup (mp_int * a, const mp_int * b)
 {
diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c
index f309cd3..256169f 100644
--- a/dlls/rsaenh/rsaenh.c
+++ b/dlls/rsaenh/rsaenh.c
@@ -762,7 +762,7 @@ static inline void setup_key(CRYPTKEY *pCryptKey) {
  *
  * PARAMS
  *  hProv      [I] Handle to the provider to which the created key will belong.
- *  aiAlgid    [I] The new key shall use the crypto algorithm idenfied by aiAlgid.
+ *  aiAlgid    [I] The new key shall use the crypto algorithm identified by aiAlgid.
  *  dwFlags    [I] Upper 16 bits give the key length.
  *                 Lower 16 bits: CRYPT_EXPORTABLE, CRYPT_CREATE_SALT,
  *                 CRYPT_NO_SALT
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c
index 73a67ee..19986f8 100644
--- a/dlls/setupapi/devinst.c
+++ b/dlls/setupapi/devinst.c
@@ -527,7 +527,7 @@ static void SETUPDI_FreeDeviceInfo(struct DeviceInfo *devInfo)
     GlobalFree((HANDLE)devInfo->devId);
 }
 
-/* Adds a device with GUID guid and identifer devInst to set.  Allocates a
+/* Adds a device with GUID guid and identifier devInst to set.  Allocates a
  * struct DeviceInfo, and points the returned device info's Reserved member
  * to it.  "Phantom" devices are deleted from the registry when closed.
  * Returns a pointer to the newly allocated device info.
@@ -609,7 +609,7 @@ BOOL WINAPI SetupDiBuildClassInfoList(
  *              SetupDiBuildClassInfoListExA  (SETUPAPI.@)
  *
  * Returns a list of setup class GUIDs that identify the classes
- * that are installed on a local or remote macine.
+ * that are installed on a local or remote machine.
  *
  * PARAMS
  *   Flags [I] control exclusion of classes from the list.
@@ -655,7 +655,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExA(
  *              SetupDiBuildClassInfoListExW  (SETUPAPI.@)
  *
  * Returns a list of setup class GUIDs that identify the classes
- * that are installed on a local or remote macine.
+ * that are installed on a local or remote machine.
  *
  * PARAMS
  *   Flags [I] control exclusion of classes from the list.
diff --git a/dlls/shdocvw/shlinstobj.c b/dlls/shdocvw/shlinstobj.c
index 9a5bee8..9c3232c 100644
--- a/dlls/shdocvw/shlinstobj.c
+++ b/dlls/shdocvw/shlinstobj.c
@@ -282,7 +282,7 @@ static HRESULT WINAPI InstanceObjectFactory_IClassFactory_CreateInstance(IClassF
 
     hr = IPersistPropertyBag_Load(pPersistPropertyBag, This->m_pPropertyBag, NULL);
     if (FAILED(hr)) {
-        TRACE("Failed to initialize object from ProperyBag: hr = %08x\n", hr);
+        TRACE("Failed to initialize object from PropertyBag: hr = %08x\n", hr);
         IPersistPropertyBag_Release(pPersistPropertyBag);
         return hr;
     }
@@ -402,9 +402,9 @@ HRESULT SHDOCVW_GetShellInstanceObjectClassObject(REFCLSID rclsid, REFIID riid,
         return CLASS_E_CLASSNOTAVAILABLE;
     }
 
-    /* If the construction succeeds, the new RegistryPropertyBag is responsible for closing 
-     * hInitProperyBagKey. */
-    hr = RegistryPropertyBag_Constructor(hInitPropertyBagKey, &IID_IPropertyBag, 
+    /* If the construction succeeds, the new RegistryPropertyBag is responsible for closing
+     * hInitPropertyBagKey. */
+    hr = RegistryPropertyBag_Constructor(hInitPropertyBagKey, &IID_IPropertyBag,
                                          (LPVOID*)&pInitPropertyBag);
     if (FAILED(hr)) {
         RegCloseKey(hInitPropertyBagKey);
diff --git a/dlls/shell32/shellole.c b/dlls/shell32/shellole.c
index 5940631..2fac864 100644
--- a/dlls/shell32/shellole.c
+++ b/dlls/shell32/shellole.c
@@ -57,7 +57,7 @@ extern INT WINAPI SHStringFromGUIDW(REFGUID guid, LPWSTR lpszDest, INT cchMax);
 typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject);
 static IClassFactory * IDefClF_fnConstructor(LPFNCREATEINSTANCE lpfnCI, PLONG pcRefDll, REFIID riidInst);
 
-/* this table contains all CLSID's of shell32 objects */
+/* this table contains all CLSIDs of shell32 objects */
 static const struct {
 	REFIID			riid;
 	LPFNCREATEINSTANCE	lpfnCI;
diff --git a/dlls/shell32/shlmenu.c b/dlls/shell32/shlmenu.c
index a6cc314..4579e25 100644
--- a/dlls/shell32/shlmenu.c
+++ b/dlls/shell32/shlmenu.c
@@ -926,7 +926,7 @@ UINT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAd
 	    {
 	      miiSrc.wID += uIDAdjust;			/* add uIDAdjust to the ID */
 
-	      if (miiSrc.wID > uIDAdjustMax)		/* skip ID's higher uIDAdjustMax */
+	      if (miiSrc.wID > uIDAdjustMax)		/* skip IDs higher than uIDAdjustMax */
 	        continue;
 
 	      if (uIDMax <= miiSrc.wID)			/* remember the highest ID */
@@ -953,7 +953,7 @@ UINT WINAPI Shell_MergeMenus (HMENU hmDst, HMENU hmSrc, UINT uInsert, UINT uIDAd
 	  {
 	    miiSrc.wID += uIDAdjust;			/* add uIDAdjust to the ID */
 
-	    if (miiSrc.wID > uIDAdjustMax)		/* skip ID's higher uIDAdjustMax */
+	    if (miiSrc.wID > uIDAdjustMax)		/* skip IDs higher than uIDAdjustMax */
 	      continue;
 
 	    if (uIDMax <= miiSrc.wID)			/* remember the highest ID */
diff --git a/dlls/shell32/shlview.c b/dlls/shell32/shlview.c
index da613da..eee447e 100644
--- a/dlls/shell32/shlview.c
+++ b/dlls/shell32/shlview.c
@@ -155,7 +155,7 @@ static inline IShellViewImpl *impl_from_IShellFolderView(IShellFolderView *iface
     return CONTAINING_RECORD(iface, IShellViewImpl, IShellFolderView_iface);
 }
 
-/* ListView Header ID's */
+/* ListView Header IDs */
 #define LISTVIEW_COLUMN_NAME 0
 #define LISTVIEW_COLUMN_SIZE 1
 #define LISTVIEW_COLUMN_TYPE 2
@@ -1272,7 +1272,7 @@ static LRESULT ShellView_OnKillFocus(IShellViewImpl * This)
 * ShellView_OnCommand()
 *
 * NOTES
-*	the CmdID's are the ones from the context menu
+*	the CmdIDs are the ones from the context menu
 */
 static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dwCmd, HWND hwndCmd)
 {
@@ -1304,7 +1304,7 @@ static LRESULT ShellView_OnCommand(IShellViewImpl * This,DWORD dwCmdID, DWORD dw
 	    CheckToolbar(This);
 	    break;
 
-	  /* the menu-ID's for sorting are 0x30... see shell32.rc */
+	  /* the menu IDs for sorting are 0x30... see shell32.rc */
 	  case 0x30:
 	  case 0x31:
 	  case 0x32:
diff --git a/dlls/shell32/trash.c b/dlls/shell32/trash.c
index 3a6234a..c2e4ab2 100644
--- a/dlls/shell32/trash.c
+++ b/dlls/shell32/trash.c
@@ -209,7 +209,7 @@ error:
 
 /*
  * Try to create a .trashinfo file. This function will make several attempts with
- * different filenames. It will return the filename that succeded or NULL if a file
+ * different filenames. It will return the filename that succeeded or NULL if a file
  * couldn't be created.
  */
 static char *create_trashinfo(const char *info_dir, const char *file_path)
@@ -285,7 +285,7 @@ static BOOL TRASH_MoveFileToBucket(TRASH_BUCKET *pBucket, const char *unix_path)
     
     if (rename(unix_path, trash_path)==0)
     {
-        TRACE("rename succeded\n");
+        TRACE("rename succeeded\n");
         goto cleanup;
     }
     
diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c
index 0df1646..7d63899 100644
--- a/dlls/shlwapi/ordinal.c
+++ b/dlls/shlwapi/ordinal.c
@@ -76,7 +76,7 @@ BOOL    WINAPI SHAboutInfoW(LPWSTR,DWORD);
 /*************************************************************************
  * SHLWAPI_DupSharedHandle
  *
- * Internal implemetation of SHLWAPI_11.
+ * Internal implementation of SHLWAPI_11.
  */
 static HANDLE SHLWAPI_DupSharedHandle(HANDLE hShared, DWORD dwDstProcId,
                                       DWORD dwSrcProcId, DWORD dwAccess,
diff --git a/dlls/shlwapi/resource.h b/dlls/shlwapi/resource.h
index ac53357..a9af2ba 100644
--- a/dlls/shlwapi/resource.h
+++ b/dlls/shlwapi/resource.h
@@ -28,7 +28,7 @@
 #define IDS_TIME_INTERVAL_MINUTES 66
 #define IDS_TIME_INTERVAL_SECONDS 67
 
-/* These numbers match native ID's and shouldn't be arbitrarily changed */
+/* These numbers match native IDs and shouldn't be arbitrarily changed */
 #define IDD_ERR_DIALOG    0x1200
 #define IDS_ERR_USER_MSG  0x1201
 #define IDC_ERR_DONT_SHOW 0x1202
diff --git a/dlls/storage.dll16/storage.c b/dlls/storage.dll16/storage.c
index 439e223..4807bcd 100644
--- a/dlls/storage.dll16/storage.c
+++ b/dlls/storage.dll16/storage.c
@@ -903,7 +903,7 @@ STORAGE_get_free_big_blocknr(stream_access16 *str) {
 	ret = STORAGE_put_big_block(str,bigblocknr,block);
 	assert(ret);
 
-	/* if we had a bbd block already (mostlikely) we need
+	/* if we had a bbd block already (most likely) we need
 	 * to link the new one into the chain
 	 */
 	if (lastbigblocknr!=-1) {
@@ -1485,7 +1485,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
 	}
 
 	/* There are just some cases where we didn't modify it, we write it out
-	 * everytime
+	 * every time
 	 */
 	if (!STORAGE_put_pps_entry(&This->str,This->ppsent,&(This->stde)))
 		return E_FAIL;
@@ -1497,7 +1497,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
 		while (cb>0) {
 			/* we ensured that it is allocated above */
 			assert(blocknr>=0);
-			/* Read old block everytime, since we can have
+			/* Read old block every time, since we can have
 			 * overlapping data at START and END of the write
 			 */
 			if (!STORAGE_get_small_block(&This->str,blocknr,block))
@@ -1525,7 +1525,7 @@ HRESULT CDECL IStream16_fnWrite(IStream16 *iface, const void *pv, ULONG cb, ULON
 		while (cb>0) {
 			/* we ensured that it is allocated above, so it better is */
 			assert(blocknr>=0);
-			/* read old block everytime, since we can have
+			/* read old block every time, since we can have
 			 * overlapping data at START and END of the write
 			 */
 			if (!STORAGE_get_big_block(&This->str,blocknr,block))
diff --git a/dlls/strmbase/pin.c b/dlls/strmbase/pin.c
index 97408e8..1a98c13 100644
--- a/dlls/strmbase/pin.c
+++ b/dlls/strmbase/pin.c
@@ -401,7 +401,7 @@ HRESULT WINAPI BaseOutputPinImpl_Connect(IPin * iface, IPin * pReceivePin, const
     TRACE("(%p/%p)->(%p, %p)\n", This, iface, pReceivePin, pmt);
     dump_AM_MEDIA_TYPE(pmt);
 
-    /* If we try to connect to ourself, we will definitely deadlock.
+    /* If we try to connect to ourselves, we will definitely deadlock.
      * There are other cases where we could deadlock too, but this
      * catches the obvious case */
     assert(pReceivePin != iface);
diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 38d4510..3d8cb37 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -820,7 +820,7 @@ DWORD WINAPI lineGetTranslateCapsA(HLINEAPP hLineApp, DWORD dwAPIVersion,
     strptr = ((LPBYTE) lpTranslateCaps) +
         lpTranslateCaps->dwCardListOffset + lpTranslateCaps->dwCardListSize;
     pLocEntry = (LPLINELOCATIONENTRY) (lpTranslateCaps + 1);
-    /* key with Preferred CardID's */
+    /* key with Preferred CardIDs */
     if( RegOpenKeyA(HKEY_CURRENT_USER, szLocationsKey, &hkCardLocations)
             != ERROR_SUCCESS ) 
         hkCardLocations = 0;
diff --git a/dlls/urlmon/sec_mgr.c b/dlls/urlmon/sec_mgr.c
index 6b3f9de..173955b 100644
--- a/dlls/urlmon/sec_mgr.c
+++ b/dlls/urlmon/sec_mgr.c
@@ -469,7 +469,7 @@ static HRESULT get_zone_from_domains(LPCWSTR url, LPCWSTR schema, DWORD *zone)
      * The reason is with how CoInternetParseUrl handles unknown scheme types
      * when it's parsing the domain of a URL (IE it always returns E_FAIL).
      *
-     * Windows doesn't compenstate for this and simply doesn't check if
+     * Windows doesn't compensate for this and simply doesn't check if
      * the URL maps into any domains.
      */
     if(hres != S_OK) {
diff --git a/dlls/user32/text.c b/dlls/user32/text.c
index fb71fa7..d7188c8 100644
--- a/dlls/user32/text.c
+++ b/dlls/user32/text.c
@@ -301,7 +301,7 @@ static void TEXT_PathEllipsify (HDC hdc, WCHAR *str, unsigned int max_len,
  * 1. If the text is left-justified and there is room for some of the spaces
  *    that follow the last word on the line then those that fit are included on
  *    the line.
- * 2. If the text is centred or right-justified and there is room for some of
+ * 2. If the text is centered or right-justified and there is room for some of
  *    the spaces that follow the last word on the line then all but one of those
  *    that fit are included on the line.
  * 3. (Reasonable behaviour) If the word breaking causes a space to be the first
@@ -330,7 +330,7 @@ static void TEXT_PathEllipsify (HDC hdc, WCHAR *str, unsigned int max_len,
  * Work back from the last character that did fit to either a space or the last
  * character of a word, whichever is met first.
  * If there was one or the first character didn't fit then
- *     If the text is centred or right justified and that one character was a
+ *     If the text is centered or right justified and that one character was a
  *     space then break the line before that character
  *     Otherwise break the line after that character
  *     and if the next character is a space then discard it.
diff --git a/dlls/usp10/bidi.c b/dlls/usp10/bidi.c
index abc37c1..9c3942c 100644
--- a/dlls/usp10/bidi.c
+++ b/dlls/usp10/bidi.c
@@ -289,11 +289,11 @@ static int resolveExplicit(int level, int dir, WORD *pcls, WORD *plevel, int cch
 
 enum states /* possible states */
 {
-    xa,        /*  arabic letter */
+    xa,        /*  Arabic letter */
     xr,        /*  right letter */
     xl,        /*  left letter */
 
-    ao,        /*  arabic lett. foll by ON */
+    ao,        /*  Arabic lett. foll by ON */
     ro,        /*  right lett. foll by ON */
     lo,        /*  left lett. foll by ON */
 
@@ -301,10 +301,10 @@ enum states /* possible states */
     lt,        /*  ET following L */
 
     cn,        /*  EN, AN following AL */
-    ra,        /*  arabic number foll R */
-    re,        /*  european number foll R */
-    la,        /*  arabic number foll L */
-    le,        /*  european number foll L */
+    ra,        /*  Arabic number foll R */
+    re,        /*  European number foll R */
+    la,        /*  Arabic number foll L */
+    le,        /*  European number foll L */
 
     ac,        /*  CS following cn */
     rc,        /*  CS following ra */
@@ -319,11 +319,11 @@ enum states /* possible states */
 static const int stateWeak[][10] =
 {
     /*    N,  L,  R, AN, EN, AL,NSM, CS, ES, ET */
-/*xa*/ { ao, xl, xr, cn, cn, xa, xa, ao, ao, ao }, /* arabic letter          */
+/*xa*/ { ao, xl, xr, cn, cn, xa, xa, ao, ao, ao }, /* Arabic letter          */
 /*xr*/ { ro, xl, xr, ra, re, xa, xr, ro, ro, rt }, /* right letter           */
 /*xl*/ { lo, xl, xr, la, le, xa, xl, lo, lo, lt }, /* left letter            */
 
-/*ao*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* arabic lett. foll by ON*/
+/*ao*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* Arabic lett. foll by ON*/
 /*ro*/ { ro, xl, xr, ra, re, xa, ro, ro, ro, rt }, /* right lett. foll by ON */
 /*lo*/ { lo, xl, xr, la, le, xa, lo, lo, lo, lt }, /* left lett. foll by ON  */
 
@@ -331,10 +331,10 @@ static const int stateWeak[][10] =
 /*lt*/ { lo, xl, xr, la, le, xa, lt, lo, lo, lt }, /* ET following L         */
 
 /*cn*/ { ao, xl, xr, cn, cn, xa, cn, ac, ao, ao }, /* EN, AN following AL    */
-/*ra*/ { ro, xl, xr, ra, re, xa, ra, rc, ro, rt }, /* arabic number foll R   */
-/*re*/ { ro, xl, xr, ra, re, xa, re, rs, rs,ret }, /* european number foll R */
-/*la*/ { lo, xl, xr, la, le, xa, la, lc, lo, lt }, /* arabic number foll L   */
-/*le*/ { lo, xl, xr, la, le, xa, le, ls, ls,let }, /* european number foll L */
+/*ra*/ { ro, xl, xr, ra, re, xa, ra, rc, ro, rt }, /* Arabic number foll R   */
+/*re*/ { ro, xl, xr, ra, re, xa, re, rs, rs,ret }, /* European number foll R */
+/*la*/ { lo, xl, xr, la, le, xa, la, lc, lo, lt }, /* Arabic number foll L   */
+/*le*/ { lo, xl, xr, la, le, xa, le, ls, ls,let }, /* European number foll L */
 
 /*ac*/ { ao, xl, xr, cn, cn, xa, ao, ao, ao, ao }, /* CS following cn        */
 /*rc*/ { ro, xl, xr, ra, re, xa, ro, ro, ro, rt }, /* CS following ra        */
@@ -376,11 +376,11 @@ enum actions /* possible actions */
 static const int actionWeak[][10] =
 {
        /*  N,   L,   R,  AN,  EN,  AL, NSM,  CS,  ES,  ET */
-/*xa*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxR, xxN, xxN, xxN }, /* arabic letter           */
+/*xa*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxR, xxN, xxN, xxN }, /* Arabic letter           */
 /*xr*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxR, xxN, xxN, xIx }, /* right letter            */
 /*xl*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xxN, xxN, xIx }, /* left letter             */
 
-/*ao*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxN, xxN, xxN, xxN }, /* arabic lett. foll by ON */
+/*ao*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxN, xxN, xxN, xxN }, /* Arabic lett. foll by ON */
 /*ro*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxN, xxN, xxN, xIx }, /* right lett. foll by ON  */
 /*lo*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxN, xxN, xxN, xIx }, /* left lett. foll by ON   */
 
@@ -388,10 +388,10 @@ static const int actionWeak[][10] =
 /*lt*/ { Nxx, Nxx, Nxx, Nxx, LxL, NxR, xIx, NxN, NxN, xIx }, /* ET following L         */
 
 /*cn*/ { xxx, xxx, xxx, xxx, xxA, xxR, xxA, xIx, xxN, xxN }, /* EN, AN following  AL    */
-/*ra*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxA, xIx, xxN, xIx }, /* arabic number foll R   */
-/*re*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxE, xIx, xIx, xxE }, /* european number foll R */
-/*la*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxA, xIx, xxN, xIx }, /* arabic number foll L   */
-/*le*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xIx, xIx, xxL }, /* european number foll L */
+/*ra*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxA, xIx, xxN, xIx }, /* Arabic number foll R   */
+/*re*/ { xxx, xxx, xxx, xxx, xxE, xxR, xxE, xIx, xIx, xxE }, /* European number foll R */
+/*la*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxA, xIx, xxN, xIx }, /* Arabic number foll L   */
+/*le*/ { xxx, xxx, xxx, xxx, xxL, xxR, xxL, xIx, xIx, xxL }, /* European number foll L */
 
 /*ac*/ { Nxx, Nxx, Nxx, Axx, AxA, NxR, NxN, NxN, NxN, NxN }, /* CS following cn         */
 /*rc*/ { Nxx, Nxx, Nxx, Axx, NxE, NxR, NxN, NxN, NxN, NIx }, /* CS following ra         */
diff --git a/dlls/usp10/breaking.c b/dlls/usp10/breaking.c
index 3675f7c..144da37 100644
--- a/dlls/usp10/breaking.c
+++ b/dlls/usp10/breaking.c
@@ -1,5 +1,5 @@
 /*
- * Implementation of line breaking algorighm for the Uniscribe Script Processor
+ * Implementation of line breaking algorithm for the Uniscribe Script Processor
  *
  * Copyright 2011 CodeWeavers, Aric Stewart
  *
@@ -101,7 +101,7 @@ void BREAK_line(const WCHAR *chars, int count, const SCRIPT_ANALYSIS *sa, SCRIPT
     }
 
     /* LB1 */
-    /* TODO: Have outside algorithims for these scripts */
+    /* TODO: Have outside algorithms for these scripts */
     for (i = 0; i < count; i++)
     {
         switch(break_class[i])
diff --git a/dlls/usp10/shape.c b/dlls/usp10/shape.c
index 01154d9..aacb998 100644
--- a/dlls/usp10/shape.c
+++ b/dlls/usp10/shape.c
@@ -1408,7 +1408,7 @@ static inline BOOL left_join_causing(CHAR joining_type)
 static inline BOOL word_break_causing(WCHAR chr)
 {
     /* we are working within a string of characters already guareented to
-       be within one script, Syriac, so we do not worry about any characers
+       be within one script, Syriac, so we do not worry about any character
        other than the space character outside of that range */
     return (chr == 0 || chr == 0x20 );
 }
diff --git a/dlls/wer/main.c b/dlls/wer/main.c
index e53f498..0d43c0e 100644
--- a/dlls/wer/main.c
+++ b/dlls/wer/main.c
@@ -56,7 +56,7 @@ static WCHAR regpath_exclude[] = {'S','o','f','t','w','a','r','e','\\',
                                   'E','x','c','l','u','d','e','d','A','p','p','l','i','c','a','t','i','o','n','s',0};
 
 /***********************************************************************
- * Memory alloccation helper
+ * Memory allocation helper
  */
 
 static inline void * __WINE_ALLOC_SIZE(1) heap_alloc_zero(size_t len)
@@ -98,7 +98,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
  *
  * RETURNS
  *  Success: S_OK
- *  Faulure: A HRESULT error code
+ *  Failure: A HRESULT error code
  *
  */
 HRESULT WINAPI WerAddExcludedApplication(PCWSTR exeName, BOOL allUsers)
@@ -139,7 +139,7 @@ HRESULT WINAPI WerAddExcludedApplication(PCWSTR exeName, BOOL allUsers)
  *
  * RETURNS
  *  Success: S_OK
- *  Faulure: A HRESULT error code
+ *  Failure: A HRESULT error code
  *
  */
 HRESULT WINAPI WerRemoveExcludedApplication(PCWSTR exeName, BOOL allUsers)
diff --git a/dlls/winealsa.drv/midi.c b/dlls/winealsa.drv/midi.c
index 1e5b436..987e803 100644
--- a/dlls/winealsa.drv/midi.c
+++ b/dlls/winealsa.drv/midi.c
@@ -150,7 +150,7 @@ static	int 	MIDI_AlsaToWindowsDeviceType(unsigned int type)
      * MOD_SQSYNTH      square wave internal synth
      * MOD_FMSYNTH      FM internal synth
      * MOD_MAPPER       MIDI mapper
-     * MOD_WAVETABLE    hardware watetable internal synth
+     * MOD_WAVETABLE    hardware wavetable internal synth
      * MOD_SWSYNTH      software internal synth
      */
 
diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index 8f2281a..077007a 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -723,7 +723,7 @@ static DWORD shader_generate_arb_declarations(struct wined3d_shader *shader,
      * With vertex shaders we need the posFixup and on some GL implementations 4 helper
      * immediate values. The posFixup is loaded using program.env for now, so always
      * subtract one from the number of constants. If the shader uses indirect addressing,
-     * account for the helper const too because we have to declare all availabke d3d constants
+     * account for the helper const too because we have to declare all available d3d constants
      * and don't know which are actually used.
      */
     if (pshader)
@@ -1836,7 +1836,7 @@ static void pshader_hw_texkill(const struct wined3d_shader_instruction *ins)
     char reg_dest[40];
 
     /* No swizzles are allowed in d3d's texkill. PS 1.x ignores the 4th component as documented,
-     * but >= 2.0 honors it(undocumented, but tested by the d3d9 testsuit)
+     * but >= 2.0 honors it (undocumented, but tested by the d3d9 testsuite)
      */
     shader_arb_get_dst_param(ins, dst, reg_dest);
 
@@ -6899,7 +6899,7 @@ static void upload_palette(struct wined3d_surface *surface)
     glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
     glTexParameteri(GL_TEXTURE_1D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
     /* Upload the palette */
-    /* TODO: avoid unneeed uploads in the future by adding some SFLAG_PALETTE_DIRTY mechanism */
+    /* TODO: avoid unneeded uploads in the future by adding some SFLAG_PALETTE_DIRTY mechanism */
     glTexImage1D(GL_TEXTURE_1D, 0, GL_RGBA, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, table);
 
     /* Switch back to unit 0 in which the 2D texture will be stored. */
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index b694e2b..19aa3d0 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -784,7 +784,7 @@ HRESULT device_clear_render_targets(struct wined3d_device *device, UINT rt_count
                     wine_dbgstr_rect(&current_rect));
 
             /* Tests show that rectangles where x1 > x2 or y1 > y2 are ignored silently.
-             * The rectangle is not cleared, no error is returned, but further rectanlges are
+             * The rectangle is not cleared, no error is returned, but further rectangles are
              * still cleared if they are valid. */
             if (current_rect.left > current_rect.right || current_rect.top > current_rect.bottom)
             {
@@ -1285,7 +1285,7 @@ HRESULT CDECL wined3d_device_init_3d(struct wined3d_device *device,
         {
             if (context_get_current()->aux_buffers > 0)
             {
-                TRACE("Using auxilliary buffer for offscreen rendering\n");
+                TRACE("Using auxiliary buffer for offscreen rendering\n");
                 device->offscreenBuffer = GL_AUX0;
             }
             else
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 87f2606..a93895e 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -829,7 +829,7 @@ static void quirk_amd_dx9(struct wined3d_gl_info *gl_info)
     /* MacOS advertises GL_ARB_texture_non_power_of_two on ATI r500 and earlier cards, although
      * these cards only support GL_ARB_texture_rectangle(D3DPTEXTURECAPS_NONPOW2CONDITIONAL).
      * If real NP2 textures are used, the driver falls back to software. We could just remove the
-     * extension and use GL_ARB_texture_rectangle instead, but texture_rectangle is inconventient
+     * extension and use GL_ARB_texture_rectangle instead, but texture_rectangle is inconvenient
      * due to the non-normalized texture coordinates. Thus set an internal extension flag,
      * GL_WINE_normalized_texrect, which signals the code that it can use non power of two textures
      * as per GL_ARB_texture_non_power_of_two, but has to stick to the texture_rectangle limits.
@@ -3650,7 +3650,7 @@ static BOOL CheckTextureCapability(const struct wined3d_adapter *adapter, const
             /* These formats seem to be similar to the HILO formats in GL_NV_texture_shader. NVHU
              * is said to be GL_UNSIGNED_HILO16, NVHS GL_SIGNED_HILO16. Rumours say that d3d computes
              * a 3rd channel similarly to D3DFMT_CxV8U8(So NVHS could be called D3DFMT_CxV16U16).
-             * ATI refused to support formats which can easilly be emulated with pixel shaders, so
+             * ATI refused to support formats which can easily be emulated with pixel shaders, so
              * Applications have to deal with not having NVHS and NVHU.
              */
             TRACE_(d3d_caps)("[FAILED]\n");
diff --git a/dlls/wined3d/gl_compat.c b/dlls/wined3d/gl_compat.c
index 5756445..7ba2157 100644
--- a/dlls/wined3d/gl_compat.c
+++ b/dlls/wined3d/gl_compat.c
@@ -391,7 +391,7 @@ void add_gl_compat_wrappers(struct wined3d_gl_info *gl_info)
          * too, which would allow fog coord emulation in a fixed function vertex pipeline replacement.
          *
          * Fog vs texture: We apply the fog in the vertex color. An app could set up texturing settings which
-         * ignore the vertex color, thus effectively disabing our fog. However, in D3D this type of fog is
+         * ignore the vertex color, thus effectively disabling our fog. However, in D3D this type of fog is
          * a per-vertex fog too, so the apps shouldn't do that.
          *
          * Fog vs lighting: The app could in theory use D3DFOG_NONE table and D3DFOG_NONE vertex fog with
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 0735357..c3dd7ff 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -4882,7 +4882,7 @@ const struct StateEntryTemplate misc_state_template[] = {
     { STATE_POINTSPRITECOORDORIGIN,                       { STATE_POINTSPRITECOORDORIGIN,                       psorigin            }, WINED3D_GL_VERSION_2_0          },
     { STATE_POINTSPRITECOORDORIGIN,                       { STATE_POINTSPRITECOORDORIGIN,                       psorigin_w          }, WINED3D_GL_EXT_NONE             },
 
-    /* TODO: Move shader constant loading to vertex and fragment pipeline repectively, as soon as the pshader and
+    /* TODO: Move shader constant loading to vertex and fragment pipeline respectively, as soon as the pshader and
      * vshader loadings are untied from each other
      */
     { STATE_VERTEXSHADERCONSTANT,                         { STATE_VERTEXSHADERCONSTANT,                         shaderconstant      }, WINED3D_GL_EXT_NONE             },
diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c
index 177f071..8e801c6 100644
--- a/dlls/wined3d/utils.c
+++ b/dlls/wined3d/utils.c
@@ -569,7 +569,7 @@ static const struct wined3d_format_texture_info format_texture_info[] =
     /* GL_APPLE_ycbcr_422 claims that its '2YUV' format, which is supported via the UNSIGNED_SHORT_8_8_REV_APPLE type
      * is equivalent to 'UYVY' format on Windows, and the 'YUVS' via UNSIGNED_SHORT_8_8_APPLE equates to 'YUY2'. The
      * d3d9 test however shows that the opposite is true. Since the extension is from 2002, it predates the x86 based
-     * Macs, so probably the endianess differs. This could be tested as soon as we have a Windows and MacOS on a big
+     * Macs, so probably the endianness differs. This could be tested as soon as we have a Windows and MacOS on a big
      * endian machine
      */
     {WINED3DFMT_UYVY,                   GL_LUMINANCE_ALPHA,               GL_LUMINANCE_ALPHA,                     0,
diff --git a/dlls/wineoss.drv/midi.c b/dlls/wineoss.drv/midi.c
index 3b28213..7ca4cff 100644
--- a/dlls/wineoss.drv/midi.c
+++ b/dlls/wineoss.drv/midi.c
@@ -155,7 +155,7 @@ static	int 	MIDI_UnixToWindowsDeviceType(int type)
      * MOD_SQSYNTH      square wave internal synth
      * MOD_FMSYNTH      FM internal synth
      * MOD_MAPPER       MIDI mapper
-     * MOD_WAVETABLE    hardware watetable internal synth
+     * MOD_WAVETABLE    hardware wavetable internal synth
      * MOD_SWSYNTH      software internal synth
      */
 
diff --git a/dlls/winex11.drv/dib_convert.c b/dlls/winex11.drv/dib_convert.c
index c34e16c..0bca50d 100644
--- a/dlls/winex11.drv/dib_convert.c
+++ b/dlls/winex11.drv/dib_convert.c
@@ -1,5 +1,5 @@
 /*
- * DIB conversion routinues for cases where the source and destination
+ * DIB conversion routines for cases where the source and destination
  * have the same byte order.
  *
  * Copyright (C) 2001 Francois Gouget
diff --git a/dlls/winex11.drv/dib_dst_swap.c b/dlls/winex11.drv/dib_dst_swap.c
index cf0aa41..b81f48c 100644
--- a/dlls/winex11.drv/dib_dst_swap.c
+++ b/dlls/winex11.drv/dib_dst_swap.c
@@ -1,5 +1,5 @@
 /*
- * DIB conversion routinues for cases where the destination
+ * DIB conversion routines for cases where the destination
  * has non-native byte order.
  *
  * Copyright (C) 2003 Huw Davies
diff --git a/dlls/winex11.drv/dib_src_swap.c b/dlls/winex11.drv/dib_src_swap.c
index 65deed7..d260f98 100644
--- a/dlls/winex11.drv/dib_src_swap.c
+++ b/dlls/winex11.drv/dib_src_swap.c
@@ -1,5 +1,5 @@
 /*
- * DIB conversion routinues for cases where the source
+ * DIB conversion routines for cases where the source
  * has non-native byte order.
  *
  * Copyright (C) 2003 Huw Davies
diff --git a/dlls/winex11.drv/ime.c b/dlls/winex11.drv/ime.c
index 2fcd285..a2b1121 100644
--- a/dlls/winex11.drv/ime.c
+++ b/dlls/winex11.drv/ime.c
@@ -35,7 +35,7 @@
  *  This flow does not work well for the X11 driver and XIM.
  *   (It works fine for Mac)
  *  As such we will have to reroute step 1.  Instead the x11drv driver will
- *  generate an XIM events and call directly into this IME implimenetaion.
+ *  generate an XIM events and call directly into this IME implementation.
  *  As such we will have to use the alternative ImmGenerateMessage path to be
  *  generate the messages that we want the IMM layer to send to the application.
  */
@@ -1143,7 +1143,7 @@ static void PaintDefaultIMEWnd(HIMC hIMC, HWND hwnd)
          *    needed and possible.   If our ptCurrentPos is outside of our rect
          *    then no window is displayed.
          * CFS_FORCE_POSITION: appears to behave just like CFS_POINT
-         *    maybe becase the default MSIME does not do any IME adjusting.
+         *    maybe because the default MSIME does not do any IME adjusting.
          */
         if (lpIMC->cfCompForm.dwStyle != CFS_DEFAULT)
         {
diff --git a/dlls/winex11.drv/keyboard.c b/dlls/winex11.drv/keyboard.c
index 7c229fd..423921a 100644
--- a/dlls/winex11.drv/keyboard.c
+++ b/dlls/winex11.drv/keyboard.c
@@ -456,7 +456,7 @@ static const char main_key_BG_phonetic[MAIN_LEN][4] =
 };
 
 /*** Belarusian standard keyboard layout (contributed by Hleb Valoska) */
-/*** It matches belarusian layout for XKB from Alexander Mikhailian    */
+/*** It matches Belarusian layout for XKB from Alexander Mikhailian    */
 static const char main_key_BY[MAIN_LEN][4] =
 {
  "`~£³","1!","2@","3#","4$","5%","6^","7&","8*","9(","0)","-_","=+",
@@ -2155,7 +2155,7 @@ UINT CDECL X11DRV_MapVirtualKeyEx(UINT wCode, UINT wMapType, HKL hkl)
 		case MAPVK_VK_TO_CHAR: /* vkey-code to unshifted ANSI code */
 		{
                         /* we still don't know what "unshifted" means. in windows VK_W (0x57)
-                         * returns 0x57, which is upercase 'W'. So we have to return the uppercase
+                         * returns 0x57, which is uppercase 'W'. So we have to return the uppercase
                          * key.. Looks like something is wrong with the MS docs?
                          * This is only true for letters, for example VK_0 returns '0' not ')'.
                          * - hence we use the lock mask to ensure this happens.
diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c
index cdcfcb7..ba33732 100644
--- a/dlls/winex11.drv/wintab.c
+++ b/dlls/winex11.drv/wintab.c
@@ -227,7 +227,7 @@ typedef struct tagWTI_DEVICES_INFO
 #define CSR_TYPE_ERASER     0x82a
 #define CSR_TYPE_MOUSE_2D   0x007
 #define CSR_TYPE_MOUSE_4D   0x094
-/* CSR_TYPE_OTHER is a special value! assumed no real world signifigance
+/* CSR_TYPE_OTHER is a special value! assumed no real world significance
  * if a stylus type or eraser type eventually have this value
  * it'll be a bug.  As of 2008 05 21 we can be sure because
  * linux wacom lists all the known values and this isn't one of them */
@@ -293,8 +293,8 @@ static DWORD         gSerial;
  * etc.....
  *
  * So with multimode tablets we could potentially need
- * 2 slots of the same type per tablet ie.
- * you are usuing 2 styluses at once so they would
+ * 2 slots of the same type per tablet i.e.
+ * you are using 2 styluses at once so they would
  * get placed in Cursors #1 and Cursor #4
  *
  * Now say someone has 2 multimode tablets with 2 erasers each
diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c
index 791139e..95032d4 100644
--- a/dlls/winex11.drv/xim.c
+++ b/dlls/winex11.drv/xim.c
@@ -445,7 +445,7 @@ static BOOL open_xim( Display *display )
 
         if (ximStyleCallback == 0)
         {
-            TRACE("No callback style avalable\n");
+            TRACE("No callback style available\n");
             ximStyleCallback = ximStyle;
         }
 
diff --git a/dlls/wldap32/init.c b/dlls/wldap32/init.c
index db9b451..2d78c97 100644
--- a/dlls/wldap32/init.c
+++ b/dlls/wldap32/init.c
@@ -125,7 +125,7 @@ static int has_ldap_scheme( char *url )
 }
 
 /* Flatten an array of hostnames into a space separated string of URLs.
- * Prepend a given scheme and append a given portnumber to each hostname
+ * Prepend a given scheme and append a given port number to each hostname
  * if necessary.
  */
 static char *join_hostnames( const char *scheme, char **hostnames, ULONG portnumber )
@@ -245,7 +245,7 @@ exit:
  *
  * PARAMS
  *  hostname   [I] Name of the host to connect to.
- *  portnumber [I] Portnumber to use.
+ *  portnumber [I] Port number to use.
  *
  * RETURNS
  *  Success: Pointer to an LDAP context.
@@ -255,8 +255,8 @@ exit:
  *  The hostname string can be a space separated string of hostnames,
  *  in which case the LDAP runtime will try to connect to the hosts
  *  in order, until a connection can be made. A hostname may have a
- *  trailing portnumber (separated from the hostname by a ':'), which 
- *  will take precedence over the portnumber supplied as a parameter
+ *  trailing port number (separated from the hostname by a ':'), which
+ *  will take precedence over the port number supplied as a parameter
  *  to this function.
  */
 WLDAP32_LDAP * CDECL cldap_openW( PWCHAR hostname, ULONG portnumber )
@@ -353,7 +353,7 @@ exit:
  *
  * PARAMS
  *  hostname   [I] Name of the host to connect to.
- *  portnumber [I] Portnumber to use.
+ *  portnumber [I] Port number to use.
  *
  * RETURNS
  *  Success: Pointer to an LDAP context.
@@ -363,8 +363,8 @@ exit:
  *  The hostname string can be a space separated string of hostnames,
  *  in which case the LDAP runtime will try to connect to the hosts
  *  in order, until a connection can be made. A hostname may have a
- *  trailing portnumber (separated from the hostname by a ':'), which 
- *  will take precedence over the portnumber supplied as a parameter
+ *  trailing port number (separated from the hostname by a ':'), which
+ *  will take precedence over the port number supplied as a parameter
  *  to this function. The connection will not be made until the first
  *  LDAP function that needs it is called.
  */
@@ -436,7 +436,7 @@ exit:
  *
  * PARAMS
  *  hostname   [I] Name of the host to connect to.
- *  portnumber [I] Portnumber to use.
+ *  portnumber [I] Port number to use.
  *
  * RETURNS
  *  Success: Pointer to an LDAP context.
@@ -446,8 +446,8 @@ exit:
  *  The hostname string can be a space separated string of hostnames,
  *  in which case the LDAP runtime will try to connect to the hosts
  *  in order, until a connection can be made. A hostname may have a
- *  trailing portnumber (separated from the hostname by a ':'), which 
- *  will take precedence over the portnumber supplied as a parameter
+ *  trailing port number (separated from the hostname by a ':'), which
+ *  will take precedence over the port number supplied as a parameter
  *  to this function.
  */
 WLDAP32_LDAP * CDECL ldap_openW( PWCHAR hostname, ULONG portnumber )
@@ -517,7 +517,7 @@ WLDAP32_LDAP * CDECL ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure
  *
  * PARAMS
  *  hostname   [I] Name of the host to connect to.
- *  portnumber [I] Portnumber to use.
+ *  portnumber [I] Port number to use.
  *  secure     [I] Ask the server to create an SSL connection.
  *
  * RETURNS
@@ -528,8 +528,8 @@ WLDAP32_LDAP * CDECL ldap_sslinitA( PCHAR hostname, ULONG portnumber, int secure
  *  The hostname string can be a space separated string of hostnames,
  *  in which case the LDAP runtime will try to connect to the hosts
  *  in order, until a connection can be made. A hostname may have a
- *  trailing portnumber (separated from the hostname by a ':'), which 
- *  will take precedence over the portnumber supplied as a parameter
+ *  trailing port number (separated from the hostname by a ':'), which
+ *  will take precedence over the port number supplied as a parameter
  *  to this function. The connection will not be made until the first
  *  LDAP function that needs it is called.
  */
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 91aab01..eafaefd 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -6154,7 +6154,7 @@ INT WINAPI WSAStringToAddressA(LPSTR AddressString,
 /***********************************************************************
  *              WSAStringToAddressW                      (WS2_32.81)
  *
- * Does anybody know if this functions allows to use hebrew/arabic/chinese... digits?
+ * Does anybody know if this function allows to use Hebrew/Arabic/Chinese... digits?
  * If this should be the case, it would be required to map these digits
  * to Unicode digits (0-9) using FoldString first.
  */
-- 
1.7.6




More information about the wine-patches mailing list