Assorted spelling fixes in comments.

Francois Gouget fgouget at free.fr
Sun May 15 08:34:49 CDT 2016


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/d3dxof/parsing.c          | 4 ++--
 dlls/dmsynth/synth.c           | 2 +-
 dlls/gdi.exe16/printdrv.c      | 2 +-
 dlls/kernel32/virtual.c        | 2 +-
 dlls/mlang/mlang.c             | 2 +-
 dlls/msctf/msctf.c             | 2 +-
 dlls/msxml3/saxreader.c        | 2 +-
 dlls/ntdll/threadpool.c        | 2 +-
 dlls/ole32/clipboard.c         | 2 +-
 dlls/ole32/compobj.c           | 4 ++--
 dlls/oleaut32/typelib.h        | 2 +-
 dlls/secur32/schannel_macosx.c | 2 +-
 dlls/shell32/iconcache.c       | 4 ++--
 dlls/user32/uitools.c          | 2 +-
 dlls/usp10/usp10.c             | 6 +++---
 dlls/wined3d/device.c          | 6 +++---
 16 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/dlls/d3dxof/parsing.c b/dlls/d3dxof/parsing.c
index 54566b0..f7724ec 100644
--- a/dlls/d3dxof/parsing.c
+++ b/dlls/d3dxof/parsing.c
@@ -748,7 +748,7 @@ static WORD parse_TOKEN(parse_buffer * buf)
       {
         buf->list_nb_elements--;
         buf->list_separator = FALSE;
-        /* Insert separarator between each values and since list does not accept separator at the end
+        /* Insert separator between each value, and since list does not accept separator at the end
            use a comma so any extra separator will generate an error */
         token = TOKEN_COMMA;
       }
@@ -761,7 +761,7 @@ static WORD parse_TOKEN(parse_buffer * buf)
         *(DWORD*)buf->value = value;
 
         buf->list_separator = TRUE;
-        /* Convert list into a serie of their basic type counterpart */
+        /* Convert list into a series of their basic type counterpart */
         token = buf->list_type_float ? TOKEN_FLOAT : TOKEN_INTEGER;
       }
       dump_TOKEN(token);
diff --git a/dlls/dmsynth/synth.c b/dlls/dmsynth/synth.c
index cdf8026..5586edc 100644
--- a/dlls/dmsynth/synth.c
+++ b/dlls/dmsynth/synth.c
@@ -147,7 +147,7 @@ static HRESULT WINAPI IDirectMusicSynth8Impl_Download(LPDIRECTMUSICSYNTH8 iface,
         TRACE(" - cbSize                  = %u\n", info->cbSize);
     }
 
-    /* The struct should have at least one offset corresponding to the donwload object itself */
+    /* The struct should have at least one offset corresponding to the downloaded object itself */
     if (!info->dwNumOffsetTableEntries)
     {
         FIXME("Offset table is empty\n");
diff --git a/dlls/gdi.exe16/printdrv.c b/dlls/gdi.exe16/printdrv.c
index fa891b7..bd7f053 100644
--- a/dlls/gdi.exe16/printdrv.c
+++ b/dlls/gdi.exe16/printdrv.c
@@ -62,7 +62,7 @@ static const char Printers[]          = "System\\CurrentControlSet\\Control\\Pri
 /****************** misc. printer related functions */
 
 /*
- * The following function should implement a queing system
+ * The following function should implement a queuing system
  */
 struct hpq
 {
diff --git a/dlls/kernel32/virtual.c b/dlls/kernel32/virtual.c
index 32f2d65..f443020 100644
--- a/dlls/kernel32/virtual.c
+++ b/dlls/kernel32/virtual.c
@@ -238,7 +238,7 @@ BOOL WINAPI VirtualProtectEx( HANDLE process, LPVOID addr, SIZE_T size,
     NTSTATUS status;
     DWORD prot;
 
-    /* Win9x allows to pass NULL as old_prot while it fails on NT */
+    /* Win9x allows passing NULL as old_prot while this fails on NT */
     if (!old_prot && (GetVersion() & 0x80000000)) old_prot = &prot;
 
     status = NtProtectVirtualMemory( process, &addr, &size, new_prot, old_prot );
diff --git a/dlls/mlang/mlang.c b/dlls/mlang/mlang.c
index f6bd308..d9a167a 100644
--- a/dlls/mlang/mlang.c
+++ b/dlls/mlang/mlang.c
@@ -502,7 +502,7 @@ static void fill_cp_info(const struct mlang_data *ml_data, UINT index, MIMECPINF
 static LONG dll_count;
 
 /*
- * Japanese Detection and Converstion Functions
+ * Japanese Detection and Conversion Functions
  */
 
 #define HANKATA(A)  ((A >= 161) && (A <= 223))
diff --git a/dlls/msctf/msctf.c b/dlls/msctf/msctf.c
index a47f16c..f9bfd63 100644
--- a/dlls/msctf/msctf.c
+++ b/dlls/msctf/msctf.c
@@ -388,7 +388,7 @@ static void deactivate_remove_conflicting_ts(REFCLSID catid)
             list_remove(&ats->entry);
             HeapFree(GetProcessHeap(),0,ats->ats);
             HeapFree(GetProcessHeap(),0,ats);
-            /* we are guarenteeing there is only 1 */
+            /* guarantee that there is only 1 */
             break;
         }
     }
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 0ce135b..78cfe08 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -2522,7 +2522,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz
     if (encoding == XML_CHAR_ENCODING_NONE)
     {
         const WCHAR *ptr = (WCHAR*)buffer;
-        /* xml declaration with possibly specified encoding will be still handled by parser */
+        /* an xml declaration with optional encoding will still be handled by the parser */
         if ((size >= 2) && *ptr == '<' && ptr[1] != '?')
         {
             enc_name = (xmlChar*)xmlGetCharEncodingName(XML_CHAR_ENCODING_UTF16LE);
diff --git a/dlls/ntdll/threadpool.c b/dlls/ntdll/threadpool.c
index 781750b..15510e2 100644
--- a/dlls/ntdll/threadpool.c
+++ b/dlls/ntdll/threadpool.c
@@ -1894,7 +1894,7 @@ static void tp_object_initialize( struct threadpool_object *object, struct threa
 /***********************************************************************
  *           tp_object_submit    (internal)
  *
- * Submits a threadpool object to the associcated threadpool. This
+ * Submits a threadpool object to the associated threadpool. This
  * function has to be VOID because TpPostWork can never fail on Windows.
  */
 static void tp_object_submit( struct threadpool_object *object, BOOL signaled )
diff --git a/dlls/ole32/clipboard.c b/dlls/ole32/clipboard.c
index b871bbc..2cc1cfa 100644
--- a/dlls/ole32/clipboard.c
+++ b/dlls/ole32/clipboard.c
@@ -1818,7 +1818,7 @@ void OLEClipbrd_UnInitialize(void)
  *
  * Enumerate all formats supported by the source and make
  * those formats available using delayed rendering using SetClipboardData.
- * Cache the enumeration list and make that list visibile as the
+ * Cache the enumeration list and make that list visible as the
  * 'Ole Private Data' format on the clipboard.
  *
  */
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index ced6f7d..9050f0a 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -4989,8 +4989,8 @@ HRESULT WINAPI CoGetContextToken( ULONG_PTR *token )
         context->IComThreadingInfo_iface.lpVtbl = &Context_Threading_Vtbl;
         context->IContextCallback_iface.lpVtbl = &Context_Callback_Vtbl;
         context->IObjContext_iface.lpVtbl = &Context_Object_Vtbl;
-        /* Context token does not take a reference, it's always zero until
-           interface is explicitely requested with CoGetObjectContext(). */
+        /* Context token does not take a reference, it's always zero until the
+           interface is explicitly requested with CoGetObjectContext(). */
         context->refs = 0;
 
         info->context_token = &context->IObjContext_iface;
diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h
index 8f274ba..31c9ab9 100644
--- a/dlls/oleaut32/typelib.h
+++ b/dlls/oleaut32/typelib.h
@@ -217,7 +217,7 @@ typedef struct {
 
 /* after this may follow an array with default value pointers if the
  * appropriate bit in the FKCCIC field has been set:
- * INT   oDefautlValue[nrargs];
+ * INT   oDefaultValue[nrargs];
  */
 
     /* Parameter info one per argument*/
diff --git a/dlls/secur32/schannel_macosx.c b/dlls/secur32/schannel_macosx.c
index 1c9b35d..b940881 100644
--- a/dlls/secur32/schannel_macosx.c
+++ b/dlls/secur32/schannel_macosx.c
@@ -596,7 +596,7 @@ static OSStatus schan_pull_adapter(SSLConnectionRef transport, void *buff,
  *
  *  Returns:
  *      noErr on complete or partial success; *buff_len indicates how much data
- *          was actually written, which may be less than requrested.
+ *          was actually written, which may be less than requested.
  *      errSSLWouldBlock when no data could be written without blocking.  The
  *          caller should try again.
  *      other error code for failure.
diff --git a/dlls/shell32/iconcache.c b/dlls/shell32/iconcache.c
index 4549d5b..c3284a2 100644
--- a/dlls/shell32/iconcache.c
+++ b/dlls/shell32/iconcache.c
@@ -106,7 +106,7 @@ static int SIC_LoadOverlayIcon(int icon_idx);
  * SIC_OverlayShortcutImage			[internal]
  *
  * NOTES
- *  Creates a new icon as a copy of the passed-in icon, overlayed with a
+ *  Creates a new icon as a copy of the passed-in icon, overlaid with a
  *  shortcut image. 
  */
 static HICON SIC_OverlayShortcutImage(HICON SourceIcon, BOOL large)
@@ -332,7 +332,7 @@ static INT SIC_LoadIcon (LPCWSTR sSourceFile, INT dwSourceIndex, DWORD dwFlags)
 	  }
 	  else
 	  {
-	    WARN("Failed to create shortcut overlayed icons\n");
+	    WARN("Failed to create shortcut overlaid icons\n");
 	    if (NULL != hiconLargeShortcut) DestroyIcon(hiconLargeShortcut);
 	    if (NULL != hiconSmallShortcut) DestroyIcon(hiconSmallShortcut);
 	    dwFlags &= ~ GIL_FORSHORTCUT;
diff --git a/dlls/user32/uitools.c b/dlls/user32/uitools.c
index 68c3c8e..6f4dc72 100644
--- a/dlls/user32/uitools.c
+++ b/dlls/user32/uitools.c
@@ -717,7 +717,7 @@ static BOOL UITOOLS95_DFC_ButtonPush(HDC dc, LPRECT r, UINT uFlags)
 
 
 /************************************************************************
- *	UITOOLS_DFC_ButtonChcek
+ *	UITOOLS_DFC_ButtonCheck
  *
  * Draw a check/3state button coming from DrawFrameControl()
  *
diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c
index 622a061..db12934 100644
--- a/dlls/usp10/usp10.c
+++ b/dlls/usp10/usp10.c
@@ -2762,9 +2762,9 @@ static inline int get_cluster_advance(const int* piAdvance,
  *      ScriptXtoCP (USP10.@)
  *
  * Basic algorithm :
- *  use piAdvance to find the cluster we are looking at
- *  Find the character that is the first character of the cluster
- *  That is our base piCP
+ *  Use piAdvance to find the cluster we are looking at.
+ *  Find the character that is the first character of the cluster.
+ *  That is our base piCP.
  *  If the script snaps to cluster boundaries (Hebrew, Indic, Thai) then we
  *  are good. Otherwise if the cluster is larger than 1 glyph we need to
  *  determine how far through the cluster to advance the cursor.
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index d1f77ca..06a3db0 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -814,9 +814,9 @@ static void create_default_sampler(struct wined3d_device *device)
     const struct wined3d_gl_info *gl_info = &device->adapter->gl_info;
 
     /*
-     * In SM4+ shaders there is a separation between resources and samplers. Some of shader
-     * instructions allow to access resources without using samplers.
-     * In GLSL resources are always accessed through sampler or image variables. The default
+     * In SM4+ shaders there is a separation between resources and samplers. Some shader
+     * instructions allow access to resources without using samplers.
+     * In GLSL, resources are always accessed through sampler or image variables. The default
      * sampler object is used to emulate the direct resource access when there is no sampler state
      * to use.
      */
-- 
2.8.1




More information about the wine-patches mailing list