Assorted spelling fixes

Frédéric Delanoy frederic.delanoy at gmail.com
Fri Feb 7 15:42:49 CST 2014


---
 dlls/advapi32/registry.c             |  2 +-
 dlls/advapi32/tests/crypt.c          |  2 +-
 dlls/comctl32/comboex.c              |  2 +-
 dlls/comctl32/dpa.c                  |  2 +-
 dlls/comctl32/toolbar.c              |  2 +-
 dlls/dmime/performance.c             |  8 ++++----
 dlls/gameux/gameexplorer.c           |  4 ++--
 dlls/gameux/gamestatistics.c         |  2 +-
 dlls/gameux/tests/gameexplorer.c     |  2 +-
 dlls/gdi32/enhmetafile.c             |  2 +-
 dlls/jscript/regexp.c                |  2 +-
 dlls/kernel32/tests/alloc.c          | 12 ++++++------
 dlls/kernel32/tests/path.c           |  2 +-
 dlls/ntdll/sync.c                    | 10 +++++-----
 dlls/ntdll/tests/info.c              |  2 +-
 dlls/ole32/compositemoniker.c        |  2 +-
 dlls/ole32/ole2.c                    |  6 +++---
 dlls/opencl/opencl.c                 |  4 ++--
 dlls/quartz/pin.c                    |  4 ++--
 dlls/riched20/table.c                |  2 +-
 dlls/rsaenh/mpi.c                    | 10 +++++-----
 dlls/rsaenh/tests/rsaenh.c           |  4 ++--
 dlls/shdocvw/tests/shortcut.c        |  2 +-
 dlls/shell32/brsfolder.c             |  4 ++--
 dlls/shell32/shfldr_unixfs.c         |  4 ++--
 dlls/shell32/tests/shellpath.c       |  2 +-
 dlls/shlwapi/tests/path.c            |  4 ++--
 dlls/urlmon/sec_mgr.c                |  6 +++---
 dlls/urlmon/tests/sec_mgr.c          |  2 +-
 dlls/urlmon/tests/uri.c              | 14 +++++++-------
 dlls/urlmon/tests/url.c              |  2 +-
 dlls/urlmon/uri.c                    |  8 ++++----
 dlls/user32/clipboard.c              |  4 ++--
 dlls/user32/edit.c                   |  4 ++--
 dlls/user32/tests/menu.c             |  2 +-
 dlls/vbscript/regexp.c               |  2 +-
 dlls/wined3d/directx.c               |  8 ++++----
 dlls/winmm/tests/capture.c           |  2 +-
 dlls/winmm/tests/wave.c              |  4 ++--
 dlls/wintrust/register.c             |  2 +-
 libs/wpp/preproc.c                   |  2 +-
 programs/attrib/attrib.c             |  8 ++++----
 programs/cmd/builtins.c              | 16 ++++++++--------
 programs/cmd/tests/test_builtins.cmd |  4 ++--
 programs/cmd/wcmdmain.c              |  4 ++--
 programs/netstat/netstat.c           |  8 ++++----
 programs/taskmgr/affinity.c          |  2 +-
 programs/taskmgr/optnmenu.c          |  2 +-
 programs/taskmgr/proclist.c          |  2 +-
 programs/taskmgr/taskmgr.c           |  4 ++--
 programs/winedbg/debugger.h          |  2 +-
 tools/c2man.pl                       |  4 ++--
 tools/winedump/README                |  2 +-
 tools/winedump/pdb.c                 |  2 +-
 tools/wrc/newstruc.c                 |  2 +-
 tools/wrc/parser.y                   |  4 ++--
 tools/wrc/wrctypes.h                 |  2 +-
 57 files changed, 117 insertions(+), 117 deletions(-)

diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index f278951..0a04bc7 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -2716,7 +2716,7 @@ LSTATUS WINAPI RegLoadMUIStringW(HKEY hKey, LPCWSTR pwszValue, LPWSTR pwszBuffer
         return ERROR_INVALID_PARAMETER;
     }
 
-    /* Check for value existence and correctness of it's type, allocate a buffer and load it. */
+    /* Check for value existence and correctness of its type, allocate a buffer and load it. */
     result = RegQueryValueExW(hKey, pwszValue, NULL, &dwValueType, NULL, &cbData);
     if (result != ERROR_SUCCESS) goto cleanup;
     if (!(dwValueType == REG_SZ || dwValueType == REG_EXPAND_SZ) || !cbData) {
diff --git a/dlls/advapi32/tests/crypt.c b/dlls/advapi32/tests/crypt.c
index 33de9b1..ebae143 100644
--- a/dlls/advapi32/tests/crypt.c
+++ b/dlls/advapi32/tests/crypt.c
@@ -931,7 +931,7 @@ static void test_set_provider_ex(void)
 	LocalFree(pszProvName);
 
 reset:
-        /* Set the provider back to it's original */
+        /* Set the provider back to its original */
         result = pCryptSetProviderExA(curProvName, PROV_RSA_FULL, NULL, CRYPT_MACHINE_DEFAULT);
         ok(result, "%d\n", GetLastError());
         LocalFree(curProvName);
diff --git a/dlls/comctl32/comboex.c b/dlls/comctl32/comboex.c
index 31762b1..86b9150 100644
--- a/dlls/comctl32/comboex.c
+++ b/dlls/comctl32/comboex.c
@@ -996,7 +996,7 @@ static LRESULT COMBOEX_Create (HWND hwnd, CREATESTRUCTA const *cs)
     }
 
     /* Native version of ComboEx creates the ComboBox with DROPDOWNLIST */
-    /* specified. It then creates it's own version of the EDIT control  */
+    /* specified. It then creates its own version of the EDIT control   */
     /* and makes the ComboBox the parent. This is because a normal      */
     /* DROPDOWNLIST does not have an EDIT control, but we need one.     */
     /* We also need to place the edit control at the proper location    */
diff --git a/dlls/comctl32/dpa.c b/dlls/comctl32/dpa.c
index 0b96df6..41fb799 100644
--- a/dlls/comctl32/dpa.c
+++ b/dlls/comctl32/dpa.c
@@ -467,7 +467,7 @@ BOOL WINAPI DPA_Grow (HDPA hdpa, INT nGrow)
  *
  * NOTES
  *     - If the 'hdpaNew' is a NULL-Pointer, a copy of the source pointer
- *       array will be created and it's handle (pointer) is returned.
+ *       array will be created and its handle (pointer) is returned.
  *     - If 'hdpa' is a NULL-Pointer, the original implementation crashes,
  *       this implementation just returns NULL.
  */
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 3151890..b523dc0 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -4146,7 +4146,7 @@ TOOLBAR_Restore(TOOLBAR_INFO *infoPtr, const TBSAVEPARAMSW *lpSave)
                 {
                     /* separator */
                     nmtbr.tbButton.fsStyle = TBSTYLE_SEP;
-                    /* when inserting separators, iBitmap controls it's size.
+                    /* when inserting separators, iBitmap controls its size.
                        0 sets default size (width) */
                     nmtbr.tbButton.iBitmap = 0;
                 }
diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c
index 9e2f4e0..92e72fe 100644
--- a/dlls/dmime/performance.c
+++ b/dlls/dmime/performance.c
@@ -277,7 +277,7 @@ static HRESULT WINAPI IDirectMusicPerformance8Impl_Init(IDirectMusicPerformance8
 	}
 
 	if (NULL != ppDirectMusic && NULL != *ppDirectMusic) {
-	  /* app creates it's own dmusic object and gives it to performance */
+          /* app creates its own dmusic object and gives it to performance */
 	  This->pDirectMusic = (IDirectMusic8*) *ppDirectMusic;
 	  IDirectMusic8_AddRef(This->pDirectMusic);
 	} else {
@@ -1228,9 +1228,9 @@ HRESULT WINAPI create_dmperformance(REFIID lpcGUID, void **ppobj)
 	InitializeCriticalSection(&obj->safe);
 	obj->safe.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": IDirectMusicPerformance8Impl*->safe");
 
-	obj->rtLatencyTime  = 100;  /* 100ms TO FIX */
-	obj->dwBumperLength =   50; /* 50ms default */
-	obj->dwPrepareTime  = 1000; /* 1000ms default */
+        obj->rtLatencyTime  = 100;  /* 100 ms TO FIX */
+        obj->dwBumperLength =   50; /* 50 ms default */
+        obj->dwPrepareTime  = 1000; /* 1000 ms default */
         return IDirectMusicPerformance8Impl_QueryInterface(&obj->IDirectMusicPerformance8_iface,
                                                            lpcGUID, ppobj);
 }
diff --git a/dlls/gameux/gameexplorer.c b/dlls/gameux/gameexplorer.c
index 8400c9e..cbe3e8d 100644
--- a/dlls/gameux/gameexplorer.c
+++ b/dlls/gameux/gameexplorer.c
@@ -530,7 +530,7 @@ static HRESULT GAMEUX_RemoveRegistryRecord(GUID* pInstanceID)
  *  sGDFBinaryPath                  [I]     path to binary containing GDF file in
  *                                          resources
  *  sGameInstallDirectory           [I]     path to directory, where game installed
- *                                          it's files.
+ *                                          its files.
  *  installScope                    [I]     scope of game installation
  *  pInstanceID                     [I/O]   pointer to game instance identifier.
  *                                          If pointing to GUID_NULL, then new
@@ -704,7 +704,7 @@ static HRESULT GAMEUX_UpdateGame(LPGUID InstanceID) {
     {
         WCHAR *lpGameInstallDirectory = NULL;
 
-        /* game found, it's registry path is in lpRegistryPath and install
+        /* game found, its registry path is in lpRegistryPath and install
          * scope in installScope */
         TRACE("game found in registry (path %s), updating\n", debugstr_w(lpRegistryPath));
 
diff --git a/dlls/gameux/gamestatistics.c b/dlls/gameux/gamestatistics.c
index 54115f1..f49d73a 100644
--- a/dlls/gameux/gamestatistics.c
+++ b/dlls/gameux/gamestatistics.c
@@ -387,7 +387,7 @@ static HRESULT GAMEUX_getAppIdFromGDFPath(
         hr = E_FAIL;
 
     if(SUCCEEDED(hr))
-        /* game is registered, let's read it's application id from registry */
+        /* game is registered, let's read its application id from registry */
         hr = GAMEUX_buildGameRegistryPath(installScope, &instanceId, &lpRegistryPath);
 
     if(SUCCEEDED(hr)) {
diff --git a/dlls/gameux/tests/gameexplorer.c b/dlls/gameux/tests/gameexplorer.c
index 462fb8f..5ed780c 100644
--- a/dlls/gameux/tests/gameexplorer.c
+++ b/dlls/gameux/tests/gameexplorer.c
@@ -363,7 +363,7 @@ static void _validateGameRegistryKey(int line,
     if(SUCCEEDED(hr))
     {
         if(presenceExpected)
-            /* if the key exists and we expected it, let's verify it's content */
+            /* if the key exists and we expected it, let's verify its content */
             _validateGameRegistryValues(line, hKey, lpRegistryPath, gameApplicationId, gameExePath, gameExeName);
 
         RegCloseKey(hKey);
diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c
index b2ae6aa..99a2415 100644
--- a/dlls/gdi32/enhmetafile.c
+++ b/dlls/gdi32/enhmetafile.c
@@ -2230,7 +2230,7 @@ BOOL WINAPI PlayEnhMetaFileRecord(
  *   This function behaves differently in Win9x and WinNT.
  *
  *   In WinNT, the DC's world transform is updated as the EMF changes
- *    the Window/Viewport Extent and Origin or it's world transform.
+ *    the Window/Viewport Extent and Origin or its world transform.
  *    The actual Window/Viewport Extent and Origin are left untouched.
  *
  *   In Win9x, the DC is left untouched, and PlayEnhMetaFileRecord
diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c
index 373be82..cca7cc5 100644
--- a/dlls/jscript/regexp.c
+++ b/dlls/jscript/regexp.c
@@ -890,7 +890,7 @@ ProcessOp(CompilerState *state, REOpData *opData, RENode **operandStack,
 
 /*
  * Hack two bits in CompilerState.flags, for use within FindParenCount to flag
- * its being on the stack, and to propagate errors to its callers.
+ * it being on the stack, and to propagate errors to its callers.
  */
 #define JSREG_FIND_PAREN_COUNT  0x8000
 #define JSREG_FIND_PAREN_ERROR  0x4000
diff --git a/dlls/kernel32/tests/alloc.c b/dlls/kernel32/tests/alloc.c
index 86a31e7..05d262e 100644
--- a/dlls/kernel32/tests/alloc.c
+++ b/dlls/kernel32/tests/alloc.c
@@ -93,7 +93,7 @@ static void test_Heap(void)
           error=TRUE;
         }
       }
-      ok(!error,"HeapAlloc should have zeroed out it's allocated memory\n");
+      ok(!error,"HeapAlloc should have zeroed out its allocated memory\n");
     }
 
 /* Check that HeapAlloc returns NULL when requested way too much memory */
@@ -114,7 +114,7 @@ static void test_Heap(void)
           error=TRUE;
         }
       }
-      ok(!error,"HeapReAlloc should have zeroed out it's allocated memory\n");
+      ok(!error,"HeapReAlloc should have zeroed out its allocated memory\n");
     }
 
 /* Check that HeapRealloc honours HEAP_REALLOC_IN_PLACE_ONLY */
@@ -195,7 +195,7 @@ static void test_Global(void)
             error=TRUE;
           }
         }
-        ok(!error,"GlobalAlloc should have zeroed out it's allocated memory\n");
+        ok(!error,"GlobalAlloc should have zeroed out its allocated memory\n");
       }
    }
 /* Check that GlobalReAlloc works */
@@ -222,7 +222,7 @@ static void test_Global(void)
             error=TRUE;
           }
         }
-        ok(!error,"GlobalReAlloc should have zeroed out it's allocated memory\n");
+        ok(!error,"GlobalReAlloc should have zeroed out its allocated memory\n");
 
 /* Check that GlobalHandle works */
         mem2b=GlobalHandle(mem2ptr);
@@ -287,7 +287,7 @@ static void test_Local(void)
             error=TRUE;
           }
         }
-        ok(!error,"LocalAlloc should have zeroed out it's allocated memory\n");
+        ok(!error,"LocalAlloc should have zeroed out its allocated memory\n");
         SetLastError(0);
         error=LocalUnlock(mem2);
         ok(!error && GetLastError()==NO_ERROR,
@@ -315,7 +315,7 @@ static void test_Local(void)
             error=TRUE;
           }
         }
-        ok(!error,"LocalReAlloc should have zeroed out it's allocated memory\n");
+        ok(!error,"LocalReAlloc should have zeroed out its allocated memory\n");
 /* Check that LocalHandle works */
         mem2b=LocalHandle(mem2ptr);
         ok(mem2b==mem2a,"LocalHandle didn't return the correct memory handle\n");
diff --git a/dlls/kernel32/tests/path.c b/dlls/kernel32/tests/path.c
index 724beae..0f07ea6 100644
--- a/dlls/kernel32/tests/path.c
+++ b/dlls/kernel32/tests/path.c
@@ -308,7 +308,7 @@ static void test_setdir(CHAR *olddir,CHAR *newdir,
        "%s: SetCurrentDirectory did not change the directory, though it passed\n",
        errstr);
     ok(SetCurrentDirectoryA(olddir),
-       "%s: Couldn't set directory to it's original value\n",errstr);
+       "%s: Couldn't set directory to its original value\n",errstr);
   } else {
 /* else thest that it fails correctly */
     chklen=lstrlenA(olddir);
diff --git a/dlls/ntdll/sync.c b/dlls/ntdll/sync.c
index 8ef16cc..7c9d5e8 100644
--- a/dlls/ntdll/sync.c
+++ b/dlls/ntdll/sync.c
@@ -1412,11 +1412,11 @@ DWORD WINAPI RtlRunOnceExecuteOnce( RTL_RUN_ONCE *once, PRTL_RUN_ONCE_INIT_FN fu
  * [0, >=1, >=1] above we cannot add additional waiting threads to the
  * shared access queue - it wouldn't be possible to distinguish waiting
  * threads and those that are still inside. To solve this problem the lock
- * uses the following approach: A thread that isn't able to allocate a
+ * uses the following approach: a thread that isn't able to allocate a
  * shared lock just uses the exclusive queue instead. As soon as the thread
- * is woken up it is in the state [1, >=1, >=0]. In this state its again
+ * is woken up it is in the state [1, >=1, >=0]. In this state it's again
  * possible to use the shared access queue. The thread atomically moves
- * itself to the shared access queue and releases the exclusive lock, such
+ * itself to the shared access queue and releases the exclusive lock, so
  * that the "real" exclusive access threads have a chance. As soon as they
  * are all ready the shared access threads are processed.
  */
@@ -1449,7 +1449,7 @@ static inline unsigned int srwlock_lock_exclusive( unsigned int *dest, int incr
     /* Atomically modifies the value of *dest by adding incr. If the shared
      * queue is empty and there are threads waiting for exclusive access, then
      * sets the mark SRWLOCK_MASK_IN_EXCLUSIVE to signal other threads that
-     * they are allowed to use again the shared queue counter. */
+     * they are allowed again to use the shared queue counter. */
     for (val = *dest;; val = tmp)
     {
         tmp = val + incr;
@@ -1484,7 +1484,7 @@ static inline unsigned int srwlock_unlock_exclusive( unsigned int *dest, int inc
 static inline void srwlock_leave_exclusive( RTL_SRWLOCK *lock, unsigned int val )
 {
     /* Used when a thread leaves an exclusive section. If there are other
-     * exclusive access threads they are processed first, afterwards process
+     * exclusive access threads they are processed first, followed by
      * the shared waiters. */
     if (val & SRWLOCK_MASK_EXCLUSIVE_QUEUE)
         NtReleaseKeyedEvent( keyed_event, srwlock_key_exclusive(lock), FALSE, NULL );
diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index ca7cbdb..af00401 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -1726,7 +1726,7 @@ START_TEST(info)
     trace("Starting test_process_debug_flags()\n");
     test_query_process_debug_flags(argc, argv);
 
-    /* belongs into it's own file */
+    /* belongs to its own file */
     trace("Starting test_readvirtualmemory()\n");
     test_readvirtualmemory();
 
diff --git a/dlls/ole32/compositemoniker.c b/dlls/ole32/compositemoniker.c
index 7beb7e0..e61f115 100644
--- a/dlls/ole32/compositemoniker.c
+++ b/dlls/ole32/compositemoniker.c
@@ -37,7 +37,7 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(ole);
 
-#define  BLOCK_TAB_SIZE 5 /* represent the first size table and it's increment block size */
+#define  BLOCK_TAB_SIZE 5 /* represent the first size table and its increment block size */
 
 /* CompositeMoniker data structure */
 typedef struct CompositeMonikerImpl{
diff --git a/dlls/ole32/ole2.c b/dlls/ole32/ole2.c
index 910c4e9..baaf02e 100644
--- a/dlls/ole32/ole2.c
+++ b/dlls/ole32/ole2.c
@@ -56,7 +56,7 @@ WINE_DECLARE_DEBUG_CHANNEL(accel);
 
 /******************************************************************************
  * These are static/global variables and internal data structures that the
- * OLE module uses to maintain it's state.
+ * OLE module uses to maintain its state.
  */
 typedef struct tagTrackerWindowInfo
 {
@@ -1332,7 +1332,7 @@ HRESULT WINAPI OleLoad(
 
   if (SUCCEEDED(hres) && pClientSite)
     /*
-     * Inform the new object of it's client site.
+     * Inform the new object of its client site.
      */
     hres = IOleObject_SetClientSite(pOleObject, pClientSite);
 
@@ -2441,7 +2441,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
 
 	/*
 	 * If the source told us that we should cancel, fool the drop
-	 * target by telling it that the mouse left it's window.
+         * target by telling it that the mouse left its window.
 	 * Also set the drop effect to "NONE" in case the application
 	 * ignores the result of DoDragDrop.
 	 */
diff --git a/dlls/opencl/opencl.c b/dlls/opencl/opencl.c
index f3e6e79..c3d25b5 100644
--- a/dlls/opencl/opencl.c
+++ b/dlls/opencl/opencl.c
@@ -173,7 +173,7 @@ cl_context WINAPI wine_clCreateContext(const cl_context_properties * properties,
     /* FIXME: The CONTEXT_CALLBACK structure is currently leaked.
      * Pointers to callback redirectors should be remembered and free()d when the context is destroyed.
      * The problem is determining when a context is being destroyed. clReleaseContext only decrements
-     * the use count for a context, it's destruction can come much later and therefore there is a risk
+     * the use count for a context, its destruction can come much later and therefore there is a risk
      * that the callback could be invoked after the user_data memory has been free()d.
      */
     ccb = HeapAlloc(GetProcessHeap(), 0, sizeof(CONTEXT_CALLBACK));
@@ -194,7 +194,7 @@ cl_context WINAPI wine_clCreateContextFromType(const cl_context_properties * pro
     /* FIXME: The CONTEXT_CALLBACK structure is currently leaked.
      * Pointers to callback redirectors should be remembered and free()d when the context is destroyed.
      * The problem is determining when a context is being destroyed. clReleaseContext only decrements
-     * the use count for a context, it's destruction can come much later and therefore there is a risk
+     * the use count for a context, its destruction can come much later and therefore there is a risk
      * that the callback could be invoked after the user_data memory has been free()d.
      */
     ccb = HeapAlloc(GetProcessHeap(), 0, sizeof(CONTEXT_CALLBACK));
diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c
index 5067c17..73b6306 100644
--- a/dlls/quartz/pin.c
+++ b/dlls/quartz/pin.c
@@ -265,7 +265,7 @@ HRESULT WINAPI PullPin_ReceiveConnection(IPin * iface, IPin * pReceivePin, const
         ALLOCATOR_PROPERTIES props;
 
         props.cBuffers = 3;
-        props.cbBuffer = 64 * 1024; /* 64k bytes */
+        props.cbBuffer = 64 * 1024; /* 64 KB */
         props.cbAlign = 1;
         props.cbPrefix = 0;
 
@@ -598,7 +598,7 @@ static HRESULT PullPin_InitProcessing(PullPin * This)
         assert(WaitForSingleObject(This->thread_sleepy, 0) == WAIT_TIMEOUT);
         This->state = Req_Sleepy;
 
-        /* AddRef the filter to make sure it and it's pins will be around
+        /* AddRef the filter to make sure it and its pins will be around
          * as long as the thread */
         IBaseFilter_AddRef(This->pin.pinInfo.pFilter);
 
diff --git a/dlls/riched20/table.c b/dlls/riched20/table.c
index d5fbfcb..e78a1df 100644
--- a/dlls/riched20/table.c
+++ b/dlls/riched20/table.c
@@ -34,7 +34,7 @@
  *
  * Richedit version 4.1:
  *   Tables are implemented such that cells can contain multiple paragraphs,
- *   each with it's own paragraph format, and cells may even contain tables
+ *   each with its own paragraph format, and cells may even contain tables
  *   nested within the cell.
  *
  *   There is also a paragraph at the start of each table row that contains
diff --git a/dlls/rsaenh/mpi.c b/dlls/rsaenh/mpi.c
index ff00d58..e964676 100644
--- a/dlls/rsaenh/mpi.c
+++ b/dlls/rsaenh/mpi.c
@@ -1387,7 +1387,7 @@ static int mp_lshd (mp_int * a, int b)
 {
   int     x, res;
 
-  /* if its less than zero return */
+  /* if it's less than zero return */
   if (b <= 0) {
     return MP_OKAY;
   }
@@ -1624,7 +1624,7 @@ static int mp_div (const mp_int * a, const mp_int * b, mp_int * c, mp_int * d)
      norm = 0;
   }
 
-  /* note hac does 0 based, so if used==5 then its 0,1,2,3,4, e.g. use 4 */
+  /* note hac does 0 based, so if used==5 then it's 0,1,2,3,4, e.g. use 4 */
   n = x.used - 1;
   t = y.used - 1;
 
@@ -2536,7 +2536,7 @@ top:
     goto __ERR;
   }
 
-  /* if its too low */
+  /* if it's too low */
   while (mp_cmp_d(&C, 0) == MP_LT) {
       if ((res = mp_add(&C, b, &C)) != MP_OKAY) {
          goto __ERR;
@@ -2821,13 +2821,13 @@ int mp_lcm (const mp_int * a, const mp_int * b, mp_int * c)
 
   /* divide the smallest by the GCD */
   if (mp_cmp_mag(a, b) == MP_LT) {
-     /* store quotient in t2 such that t2 * b is the LCM */
+     /* store quotient in t2 so that t2 * b is the LCM */
      if ((res = mp_div(a, &t1, &t2, NULL)) != MP_OKAY) {
         goto __T;
      }
      res = mp_mul(b, &t2, c);
   } else {
-     /* store quotient in t2 such that t2 * a is the LCM */
+     /* store quotient in t2 so that t2 * a is the LCM */
      if ((res = mp_div(b, &t1, &t2, NULL)) != MP_OKAY) {
         goto __T;
      }
diff --git a/dlls/rsaenh/tests/rsaenh.c b/dlls/rsaenh/tests/rsaenh.c
index 8552bc3..babc435 100644
--- a/dlls/rsaenh/tests/rsaenh.c
+++ b/dlls/rsaenh/tests/rsaenh.c
@@ -188,8 +188,8 @@ static BOOL init_aes_environment(void)
     hProv = (HCRYPTPROV)INVALID_HANDLE_VALUE;
 
     /* we are using NULL as provider name for RSA_AES provider as the provider
-     * names are different in Windows XP and Vista. Its different as to what
-     * its defined in the SDK on Windows XP.
+     * names are different in Windows XP and Vista. It's different to what
+     * is defined in the SDK on Windows XP.
      * This provider is available on Windows XP, Windows 2003 and Vista.      */
 
     result = CryptAcquireContextA(&hProv, szContainer, NULL, PROV_RSA_AES, CRYPT_VERIFYCONTEXT);
diff --git a/dlls/shdocvw/tests/shortcut.c b/dlls/shdocvw/tests/shortcut.c
index 5bd9254..cb62c25 100644
--- a/dlls/shdocvw/tests/shortcut.c
+++ b/dlls/shdocvw/tests/shortcut.c
@@ -206,7 +206,7 @@ static void test_ShortcutFolder(void) {
     IShellFolder_Release(pWineTestFolder);
     if (FAILED(hr)) goto cleanup;
 
-    /* The resulting folder object has the FolderShortcut CLSID, instead of it's own. */
+    /* The resulting folder object has the FolderShortcut CLSID, instead of its own. */
     hr = IPersistFolder3_GetClassID(pWineTestPersistFolder, &clsid);
     ok (SUCCEEDED(hr), "IPersist::GetClassID failed! hr = %08x\n", hr);
     ok (IsEqualCLSID(&CLSID_FolderShortcut, &clsid), "GetClassId returned wrong CLSID!\n"); 
diff --git a/dlls/shell32/brsfolder.c b/dlls/shell32/brsfolder.c
index 86948ea..145ee09 100644
--- a/dlls/shell32/brsfolder.c
+++ b/dlls/shell32/brsfolder.c
@@ -313,7 +313,7 @@ static void GetNormalAndSelectedIcons(LPITEMIDLIST lpifq, LPTVITEMW lpTV_ITEM)
 /******************************************************************************
  * GetName [Internal]
  *
- * Query a shell folder for the display name of one of it's children
+ * Query a shell folder for the display name of one of its children
  *
  * PARAMS
  *  lpsf           [I] IShellFolder interface of the folder to be queried.
@@ -901,7 +901,7 @@ static BOOL BrsFolder_OnSetExpanded(browse_info *info, LPVOID selection,
         if (_ILIsEqualSimple(pItemData->lpi, pidlCurrent)) {
             pidlCurrent = ILGetNext(pidlCurrent);
             if (!_ILIsEmpty(pidlCurrent)) {
-                /* Only expand current node and move on to it's first child,
+                /* Only expand current node and move on to its first child,
                  * if we didn't already reach the last SHITEMID */
                 SendMessageW(info->hwndTreeView, TVM_EXPAND, TVE_EXPAND, (LPARAM)item.hItem);
                 item.hItem = (HTREEITEM)SendMessageW(info->hwndTreeView, TVM_GETNEXTITEM, TVGN_CHILD,
diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c
index 8723546..10b2879 100644
--- a/dlls/shell32/shfldr_unixfs.c
+++ b/dlls/shell32/shfldr_unixfs.c
@@ -58,7 +58,7 @@
  * Since the user prefers to be presented the good-old DOS file-names instead of 
  * binary ITEMIDLISTs, a translation method between string-based file-names and
  * ITEMIDLISTs was established. At the core of this are the COM-Interface
- * IShellFolder and especially it's methods ParseDisplayName and 
+ * IShellFolder and especially its methods ParseDisplayName and
  * GetDisplayNameOf. Basically, you give a DOS-path (let's say C:\windows) to
  * ParseDisplayName and get a SHITEMID similar to <Desktop|My Computer|C:|windows|>.
  * Since it's opaque, you can't see the 'C', the 'windows' and the other stuff.
@@ -80,7 +80,7 @@
  * in the filesystem. The 'My Computer' shell folder object is one instance
  * which comes to mind (Go try to save a file into 'My Computer' on windows.)
  * So, to make matters a little more complex, before the file dialog asks a
- * shell namespace object for it's DOS path, it asks if it actually has one.
+ * shell namespace object for its DOS path, it asks if it actually has one.
  * This is done via the IShellFolder::GetAttributesOf method, which sets the
  * SFGAO_FILESYSTEM if - and only if - it has.
  *
diff --git a/dlls/shell32/tests/shellpath.c b/dlls/shell32/tests/shellpath.c
index e918215..7486fac 100644
--- a/dlls/shell32/tests/shellpath.c
+++ b/dlls/shell32/tests/shellpath.c
@@ -2243,7 +2243,7 @@ static void test_knownFolders(void)
                             ok(lstrcmpiW(folderPath, sExample2Path)==0, "invalid known folder path retrieved: \"%s\" when \"%s\" was expected\n", wine_dbgstr_w(folderPath), wine_dbgstr_w(sExample2Path));
                             CoTaskMemFree(folderPath);
 
-                            /* verify sub folder - it should fail now, as we redirected it's parent folder, but we have no sub folder in new location */
+                            /* verify sub folder - it should fail now, as we redirected its parent folder, but we have no sub folder in new location */
                             hr = IKnownFolder_GetPath(subFolder, 0, &folderPath);
                             ok(hr == HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND), "unexpected value from GetPath(): 0x%08x\n", hr);
                             ok(folderPath==NULL, "invalid known folder path retrieved: \"%s\" when NULL pointer was expected\n", wine_dbgstr_w(folderPath));
diff --git a/dlls/shlwapi/tests/path.c b/dlls/shlwapi/tests/path.c
index de08310..a2e5594 100644
--- a/dlls/shlwapi/tests/path.c
+++ b/dlls/shlwapi/tests/path.c
@@ -1507,7 +1507,7 @@ static void test_PathUnExpandEnvStrings(void)
     ok(!strncmp(buff, sysrootA, sizeof(sysrootA)-1), "wrong return string %s\n", buff);
 
     /* expanded value occurs multiple times */
-    /* for drive C: it's unexpands it like 'C:C:' -> '%SystemDrive%C:' */
+    /* for drive C: it unexpands it like 'C:C:' -> '%SystemDrive%C:' */
     buff[0] = 0;
     strcpy(path, sysdrvA);
     strcat(path, sysdrvA);
@@ -1573,7 +1573,7 @@ static void test_PathUnExpandEnvStrings(void)
     ok(!memcmp(buffW, sysrootW, sizeof(sysrootW) - sizeof(WCHAR)), "wrong return string %s\n", wine_dbgstr_w(buffW));
 
     /* expanded value occurs multiple times */
-    /* for drive C: it's unexpands it like 'C:C:' -> '%SystemDrive%C:' */
+    /* for drive C: it unexpands it like 'C:C:' -> '%SystemDrive%C:' */
     buffW[0] = 0;
     lstrcpyW(pathW, sysdrvW);
     lstrcatW(pathW, sysdrvW);
diff --git a/dlls/urlmon/sec_mgr.c b/dlls/urlmon/sec_mgr.c
index 477f89e..eaad546 100644
--- a/dlls/urlmon/sec_mgr.c
+++ b/dlls/urlmon/sec_mgr.c
@@ -294,7 +294,7 @@ static BOOL get_zone_for_scheme(HKEY key, LPCWSTR schema, DWORD *zone)
  * search_domain_for_zone [internal]
  *
  * Searches the specified 'domain' registry key to see if 'host' maps into it, or any
- * of it's subdomain registry keys.
+ * of its subdomain registry keys.
  *
  * Returns S_OK if a match is found, S_FALSE if no matches were found, or an error code.
  */
@@ -386,7 +386,7 @@ static HRESULT search_domain_for_zone(HKEY domains, LPCWSTR domain, DWORD domain
             /* There's a chance that 'host' implicitly mapped into 'domain', in
              * which case we check to see if 'domain' contains zone information.
              *
-             * This can only happen if 'domain' is it's own domain name.
+             * This can only happen if 'domain' is its own domain name.
              *  Example:
              *      "google.com" (domain name = "google.com")
              *
@@ -395,7 +395,7 @@ static HRESULT search_domain_for_zone(HKEY domains, LPCWSTR domain, DWORD domain
              *
              *  Then host would map directly into the "google.com" domain key.
              *
-             * If 'domain' has more than just it's domain name, or it does not
+             * If 'domain' has more than just its domain name, or it does not
              * have a domain name, then we don't perform the check. The reason
              * for this is that these domains don't allow implicit mappings.
              *  Example:
diff --git a/dlls/urlmon/tests/sec_mgr.c b/dlls/urlmon/tests/sec_mgr.c
index 2eaddb9..f952780 100644
--- a/dlls/urlmon/tests/sec_mgr.c
+++ b/dlls/urlmon/tests/sec_mgr.c
@@ -730,7 +730,7 @@ typedef struct {
 static const zone_domain_mapping zone_domain_mappings[] = {
     /* Implicitly means "*.yabadaba.do". */
     {"yabadaba.do",NULL,"http",URLZONE_CUSTOM},
-    /* The '*' doesn't count as a wildcard, since its not the first component of the subdomain. */
+    /* The '*' doesn't count as a wildcard, since it's not the first component of the subdomain. */
     {"super.cool","testing.*","ftp",URLZONE_CUSTOM2},
     /* The '*' counts since it's the first component of the subdomain. */
     {"super.cool","*.testing","ftp",URLZONE_CUSTOM2},
diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c
index ad1d582..cf10cb2 100644
--- a/dlls/urlmon/tests/uri.c
+++ b/dlls/urlmon/tests/uri.c
@@ -688,7 +688,7 @@ static const uri_properties uri_tests[] = {
             {URLZONE_INVALID,E_NOTIMPL,FALSE}
         }
     },
-    /* URI is considered opaque since CREATE_NO_CRACK_UNKNOWN_SCHEMES is set and its an unknown scheme. */
+    /* URI is considered opaque since CREATE_NO_CRACK_UNKNOWN_SCHEMES is set and it's an unknown scheme. */
     {   "zip://google.com", Uri_CREATE_NO_CRACK_UNKNOWN_SCHEMES, S_OK, FALSE,
         {
             {"zip:/.//google.com",S_OK,FALSE},
@@ -896,7 +896,7 @@ static const uri_properties uri_tests[] = {
             {URLZONE_INVALID,E_NOTIMPL,FALSE}
         }
     },
-    /* Allowed to have invalid % encoded because its an unknown scheme type. */
+    /* Allowed to have invalid % encoded because it's an unknown scheme type. */
     {   "zip://%xy:[email protected]/", 0, S_OK, FALSE,
         {
             {"zip://%xy:[email protected]/",S_OK,FALSE},
@@ -1927,7 +1927,7 @@ static const uri_properties uri_tests[] = {
             {URLZONE_INVALID,E_NOTIMPL,FALSE}
         }
     },
-    /* Since foo isn't a recognized 3 character TLD its considered the domain name. */
+    /* Since foo isn't a recognized 3 character TLD it's considered the domain name. */
     {   "http://google.foo.uk", 0, S_OK, FALSE,
         {
             {"http://google.foo.uk/",S_OK,FALSE},
@@ -4071,7 +4071,7 @@ static const uri_properties uri_tests[] = {
             {URLZONE_INVALID,E_NOTIMPL,FALSE}
         }
     },
-    /* Res doesn't get forbidden characters percent encoded in it's path. */
+    /* Res doesn't get forbidden characters percent encoded in its path. */
     {   "res://c:\\test/tes<|>t", 0, S_OK, FALSE,
         {
             {"res://c:\\test/tes<|>t",S_OK,FALSE},
@@ -9947,7 +9947,7 @@ static void test_IUriBuilder_HasBeenModified(void) {
             hr = IUriBuilder_SetIUri(builder, uri);
             ok(hr == S_OK, "Error: IUriBuilder_SetIUri returned 0x%08x, expected 0x%08x.\n", hr, S_OK);
 
-            /* IUriBuilder already had 'uri' as it's IUri property and so Windows doesn't
+            /* IUriBuilder already had 'uri' as its IUri property and so Windows doesn't
              * reset any of the changes that were made to the IUriBuilder.
              */
             hr = IUriBuilder_HasBeenModified(builder, &received);
@@ -10070,7 +10070,7 @@ static void test_IUriBuilder_IUriProperty(void) {
             if(test) IUri_Release(test);
 
             /* Still returns the same IUri, even though the base one wasn't created with CREATE_CANONICALIZE
-             * explicitly set (because it's a default flags).
+             * explicitly set (because it's a default flag).
              */
             test = NULL;
             hr = IUriBuilder_CreateUri(builder, Uri_CREATE_CANONICALIZE, 0, 0, &test);
@@ -10118,7 +10118,7 @@ static void test_IUriBuilder_IUriProperty(void) {
             if(test) IUri_Release(test);
 
             /* Still returns the same IUri, even though the base one wasn't created with CREATE_CANONICALIZE
-             * explicitly set (because it's a default flags).
+             * explicitly set (because it's a default flag).
              */
             test = NULL;
             hr = IUriBuilder_CreateUriWithFlags(builder, Uri_CREATE_CANONICALIZE, 0, 0, 0, &test);
diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index f9a4ac3..98e5187 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -1457,7 +1457,7 @@ static void test_WinInetHttpInfo(IWinInetHttpInfo *http_info, DWORD progress)
     DWORD status, size;
     HRESULT hres, expect;
 
-    /* QueryInfo changes it's behavior during this request */
+    /* QueryInfo changes its behavior during this request */
     if(progress == BINDSTATUS_SENDINGREQUEST)
         return;
 
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 963e60e..2fe0113 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -574,7 +574,7 @@ void find_domain_name(const WCHAR *host, DWORD host_len,
         DWORD i;
         /* If the sec_last_tld is 3 characters long it HAS to be on the list of
          * recognized to still be considered part of the TLD name, otherwise
-         * its considered the domain name.
+         * it's considered the domain name.
          *  Ex: www.google.com.uk -> google.com.uk as the domain name.
          *      www.google.foo.uk -> foo.uk as the domain name.
          */
@@ -6039,7 +6039,7 @@ static HRESULT WINAPI UriBuilder_SetIUri(IUriBuilder *iface, IUri *pIUri)
         Uri *uri;
 
         if((uri = get_uri_obj(pIUri))) {
-            /* Only reset the builder if it's Uri isn't the same as
+            /* Only reset the builder if its Uri isn't the same as
              * the Uri passed to the function.
              */
             if(This->uri != uri) {
@@ -6056,7 +6056,7 @@ static HRESULT WINAPI UriBuilder_SetIUri(IUriBuilder *iface, IUri *pIUri)
             return E_NOTIMPL;
         }
     } else if(This->uri)
-        /* Only reset the builder if it's Uri isn't NULL. */
+        /* Only reset the builder if its Uri isn't NULL. */
         reset_builder(This);
 
     return S_OK;
@@ -6542,7 +6542,7 @@ static HRESULT combine_uri(Uri *base, Uri *relative, DWORD flags, IUri **result,
                 data.path_len = proc_uri->path_len;
             } else if(!data.is_opaque) {
                 /* Just set the path as a '/' if the base didn't have
-                 * one and if it's an hierarchical URI.
+                 * one and if it's a hierarchical URI.
                  */
                 static const WCHAR slashW[] = {'/',0};
                 data.path = slashW;
diff --git a/dlls/user32/clipboard.c b/dlls/user32/clipboard.c
index e6fda2e..fd16384 100644
--- a/dlls/user32/clipboard.c
+++ b/dlls/user32/clipboard.c
@@ -320,7 +320,7 @@ BOOL WINAPI EmptyClipboard(void)
         SendMessageW(cbinfo.hWndOwner, WM_DESTROYCLIPBOARD, 0, 0);
 
     /* Tell the driver to acquire the selection. The current owner
-     * will be signaled to delete it's own cache. */
+     * will be signaled to delete its own cache. */
 
     /* Assign ownership of the clipboard to the current client. We do
      * this before acquiring the selection so that when we do acquire the
@@ -332,7 +332,7 @@ BOOL WINAPI EmptyClipboard(void)
     CLIPBOARD_SetClipboardOwner(cbinfo.hWndOpen);
 
     /* Acquire the selection. This will notify the previous owner
-     * to clear it's cache. */
+     * to clear its cache. */
     USER_Driver->pAcquireClipboard(cbinfo.hWndOpen);
 
     /* Empty the local cache */
diff --git a/dlls/user32/edit.c b/dlls/user32/edit.c
index dbf1dcc..ac4cec3 100644
--- a/dlls/user32/edit.c
+++ b/dlls/user32/edit.c
@@ -1381,7 +1381,7 @@ static BOOL EDIT_MakeFit(EDITSTATE *es, UINT size)
 
 	TRACE("trying to ReAlloc to %d+1 characters\n", size);
 
-	/* Force edit to unlock it's buffer. es->text now NULL */
+        /* Force edit to unlock its buffer. es->text now NULL */
 	EDIT_UnlockBuffer(es, TRUE);
 
 	if (es->hloc32W) {
@@ -2599,7 +2599,7 @@ static void EDIT_EM_ReplaceSel(EDITSTATE *es, BOOL can_undo, LPCWSTR lpsz_replac
 		es->text_width = 0;
 
 	/* Issue the EN_MAXTEXT notification and continue with replacing text
-	 * such that buffer limit is honored. */
+         * so that buffer limit is honored. */
 	if ((honor_limit) && (size > es->buffer_limit)) {
 		EDIT_NOTIFY_PARENT(es, EN_MAXTEXT);
 		/* Buffer limit can be smaller than the actual length of text in combobox */
diff --git a/dlls/user32/tests/menu.c b/dlls/user32/tests/menu.c
index 3334a8a..6f13fac 100644
--- a/dlls/user32/tests/menu.c
+++ b/dlls/user32/tests/menu.c
@@ -1885,7 +1885,7 @@ static void test_menu_search_bycommand( void )
 
     /* Prove that you can't query the id of a popup directly (By position) */
     id = GetMenuItemID(hmenu, 0);
-    ok (id == -1, "Getting the sub menu id should have failed because its a popup (gave %x)\n", id);
+    ok (id == -1, "Getting the sub menu id should have failed because it's a popup (gave %x)\n", id);
 
     /* Prove getting the item info via ID returns the first item (not the popup or 2nd item)*/
     memset( &info, 0, sizeof info );
diff --git a/dlls/vbscript/regexp.c b/dlls/vbscript/regexp.c
index ede9364..4777d50 100644
--- a/dlls/vbscript/regexp.c
+++ b/dlls/vbscript/regexp.c
@@ -890,7 +890,7 @@ ProcessOp(CompilerState *state, REOpData *opData, RENode **operandStack,
 
 /*
  * Hack two bits in CompilerState.flags, for use within FindParenCount to flag
- * its being on the stack, and to propagate errors to its callers.
+ * it being on the stack, and to propagate errors to its callers.
  */
 #define JSREG_FIND_PAREN_COUNT  0x8000
 #define JSREG_FIND_PAREN_ERROR  0x4000
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 3ebf43a..16b9948 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -603,7 +603,7 @@ static BOOL match_dx10_capable(const struct wined3d_gl_info *gl_info, const char
     /* DX9 cards support 40 single float varyings in hardware, most drivers report 32. ATI misreports
      * 44 varyings. So assume that if we have more than 44 varyings we have a dx10 card.
      * This detection is for the gl_ClipPos varying quirk. If a d3d9 card really supports more than 44
-     * varyings and we subtract one in dx9 shaders its not going to hurt us because the dx9 limit is
+     * varyings and we subtract one in dx9 shaders it's not going to hurt us because the dx9 limit is
      * hardcoded
      *
      * dx10 cards usually have 64 varyings */
@@ -1378,7 +1378,7 @@ static void init_driver_info(struct wined3d_driver_info *driver_info,
     }
     driver_info->device = device;
 
-    /* Set a default amount of video memory (64MB). In general this code isn't used unless the user
+    /* Set a default amount of video memory (64 MB). In general this code isn't used unless the user
      * overrides the pci ids to a card which is not in our database. */
     driver_info->vidmem = WINE_DEFAULT_VIDMEM;
 
@@ -1973,7 +1973,7 @@ static enum wined3d_pci_device select_card_amd_binary(const struct wined3d_gl_in
             return CARD_AMD_RADEON_X700;
         }
 
-        /* Radeon Xpress Series - onboard, DX9b, Shader 2.0, 300-400MHz */
+        /* Radeon Xpress Series - onboard, DX9b, Shader 2.0, 300-400 MHz */
         if (strstr(gl_renderer, "Radeon Xpress"))
         {
             return CARD_AMD_RADEON_XPRESS_200M;
@@ -2121,7 +2121,7 @@ static enum wined3d_pci_device select_card_amd_mesa(const struct wined3d_gl_info
         {"R420",        CARD_AMD_RADEON_X700},
         {"R410",        CARD_AMD_RADEON_X700},
         {"RV410",       CARD_AMD_RADEON_X700},
-        /* Radeon Xpress - onboard, DX9b, Shader 2.0, 300-400MHz */
+        /* Radeon Xpress - onboard, DX9b, Shader 2.0, 300-400 MHz */
         {"RS740",       CARD_AMD_RADEON_XPRESS_200M},
         {"RS690",       CARD_AMD_RADEON_XPRESS_200M},
         {"RS600",       CARD_AMD_RADEON_XPRESS_200M},
diff --git a/dlls/winmm/tests/capture.c b/dlls/winmm/tests/capture.c
index c07ccb2..05c5735 100644
--- a/dlls/winmm/tests/capture.c
+++ b/dlls/winmm/tests/capture.c
@@ -158,7 +158,7 @@ static void wave_in_test_deviceIn(int device, WAVEFORMATEX *pwfx, DWORD format,
        wave_open_flags(CALLBACK_EVENT|flags),wave_in_error(rc));
     if ((rc==WAVERR_BADFORMAT || rc==MMSYSERR_NOTSUPPORTED) &&
        (flags & WAVE_FORMAT_DIRECT) && (pcaps->dwFormats & format))
-        trace(" Reason: The device lists this format as supported in it's "
+        trace(" Reason: The device lists this format as supported in its "
               "capabilities but opening it failed.\n");
     if ((rc==WAVERR_BADFORMAT || rc==MMSYSERR_NOTSUPPORTED) &&
        !(pcaps->dwFormats & format))
diff --git a/dlls/winmm/tests/wave.c b/dlls/winmm/tests/wave.c
index 61f855a..d370461 100644
--- a/dlls/winmm/tests/wave.c
+++ b/dlls/winmm/tests/wave.c
@@ -664,7 +664,7 @@ static void wave_out_test_deviceOut(int device, double duration, int headers, in
        wave_open_flags(CALLBACK_EVENT|flags),wave_out_error(rc));
     if ((rc==WAVERR_BADFORMAT || rc==MMSYSERR_NOTSUPPORTED) &&
        (flags & WAVE_FORMAT_DIRECT) && (pcaps->dwFormats & format))
-        trace(" Reason: The device lists this format as supported in it's "
+        trace(" Reason: The device lists this format as supported in its "
               "capabilities but opening it failed.\n");
     if ((rc==WAVERR_BADFORMAT || rc==MMSYSERR_NOTSUPPORTED) &&
        !(pcaps->dwFormats & format))
@@ -721,7 +721,7 @@ static void wave_out_test_deviceOut(int device, double duration, int headers, in
 
     if (interactive && rc==MMSYSERR_NOERROR) {
         trace("Playing %g second %s at %5dx%2dx%d %2d header%s %d loop%s %d bytes %s %s\n",duration,
-              sine ? "440Hz tone" : "silence",pwfx->nSamplesPerSec,
+              sine ? "440 Hz tone" : "silence", pwfx->nSamplesPerSec,
               pwfx->wBitsPerSample,pwfx->nChannels, headers, headers > 1 ? "s": " ",
               loops, loops == 1 ? " " : "s", length * (loops + 1),
               get_format_str(pwfx->wFormatTag),
diff --git a/dlls/wintrust/register.c b/dlls/wintrust/register.c
index 39498b5..f039fbd 100644
--- a/dlls/wintrust/register.c
+++ b/dlls/wintrust/register.c
@@ -230,7 +230,7 @@ error_close_key:
  *
  * NOTES
  *   Adding definitions is basically only adding relevant information
- *   to the registry. No verification takes place whether a DLL or it's
+ *   to the registry. No verification takes place whether a DLL or its
  *   entrypoints exist.
  *   Information in the registry will always be overwritten.
  *
diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index fd99167..33f69c8 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -209,7 +209,7 @@ static void wpp_default_write( const char *buffer, unsigned int len ) {
     fwrite(buffer, 1, len, ppy_out);
 }
 
-/* Don't comment on the hash, its primitive but functional... */
+/* Don't comment on the hash, it's primitive but functional... */
 static int pphash(const char *str)
 {
 	int sum = 0;
diff --git a/programs/attrib/attrib.c b/programs/attrib/attrib.c
index 28172b0..7e3b01e 100644
--- a/programs/attrib/attrib.c
+++ b/programs/attrib/attrib.c
@@ -70,7 +70,7 @@ static int __cdecl ATTRIB_wprintf(const WCHAR *format, ...)
     if (!output_bufW) output_bufW = HeapAlloc(GetProcessHeap(), 0,
                                               MAX_WRITECONSOLE_SIZE*sizeof(WCHAR));
     if (!output_bufW) {
-        WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
+        WINE_FIXME("Out of memory - could not allocate 2 x 64 KB buffers\n");
         return 0;
     }
 
@@ -84,13 +84,13 @@ static int __cdecl ATTRIB_wprintf(const WCHAR *format, ...)
         return 0;
     }
 
-    /* Try to write as unicode all the time we think its a console */
+    /* Try to write as unicode all the time we think it's a console */
     if (toConsole) {
         res = WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE),
                             output_bufW, len, &nOut, NULL);
     }
 
-    /* If writing to console has failed (ever) we assume its file
+    /* If writing to console has failed (ever) we assume it's file
        i/o so convert to OEM codepage and output                  */
     if (!res) {
         BOOL usedDefaultChar = FALSE;
@@ -104,7 +104,7 @@ static int __cdecl ATTRIB_wprintf(const WCHAR *format, ...)
         if (!output_bufA) output_bufA = HeapAlloc(GetProcessHeap(), 0,
                                                 MAX_WRITECONSOLE_SIZE);
         if (!output_bufA) {
-          WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
+          WINE_FIXME("Out of memory - could not allocate 2 x 64 KB buffers\n");
           return 0;
         }
 
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 11af74b..53229a7 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -770,7 +770,7 @@ void WCMD_copy(WCHAR * args) {
     }
   }
 
-  /* Calculate the destination now - if none supplied, its current dir +
+  /* Calculate the destination now - if none supplied, it's current dir +
      filename of first file in list*/
   if (destination == NULL) {
 
@@ -809,7 +809,7 @@ void WCMD_copy(WCHAR * args) {
   }
 
   /* Normally, the destination is the current directory unless we are
-     concatenating, in which case its current directory plus first filename.
+     concatenating, in which case it's current directory plus first filename.
      Note that if the
      In addition by default it is a binary copy unless concatenating, when
      the copy defaults to an ascii copy (stop at EOF). We do not know the
@@ -1791,7 +1791,7 @@ static int WCMD_for_nexttoken(int lasttoken, WCHAR *tokenstr,
     /* Get the next number */
     nextnumber1 = strtoulW(pos, &nextchar, 10);
 
-    /* If it is followed by a minus, its a range, so get the next one as well */
+    /* If it is followed by a minus, it's a range, so get the next one as well */
     if (*nextchar == '-') {
       nextnumber2 = strtoulW(nextchar+1, &nextchar, 10);
 
@@ -3813,7 +3813,7 @@ static int WCMD_handleExpression(WCHAR **expr, int *ret, int depth)
     while (*pos && (*pos==' ' || *pos=='\t')) pos++;
     if (!*pos) goto exprreturn;
 
-    /* If we have found anything other than an operator then its a number/variable */
+    /* If we have found anything other than an operator then it's a number/variable */
     if (strchrW(mathDelims, *pos) == NULL) {
       WCHAR *parmstart, *parm, *dupparm;
       WCHAR *nextpos;
@@ -4002,7 +4002,7 @@ exprreturn:
     goto exprerrorreturn;
   }
 
-  /* Now get the number (and convert if its just a variable name) */
+  /* Now get the number (and convert if it's just a variable name) */
   *ret = WCMD_popnumber(&varstackhead);
 
 exprerrorreturn:
@@ -4407,7 +4407,7 @@ void WCMD_more (WCHAR *args) {
     SetStdHandle(STD_INPUT_HANDLE, hConIn);
 
     /* Warning: No easy way of ending the stream (ctrl+z on windows) so
-       once you get in this bit unless due to a pipe, its going to end badly...  */
+       once you get in this bit unless due to a pipe, it's going to end badly...  */
     wsprintfW(moreStrPage, moreFmt, moreStr);
 
     WCMD_enter_paged_mode(moreStrPage);
@@ -4683,7 +4683,7 @@ void WCMD_assoc (const WCHAR *args, BOOL assoc) {
 
     } else {
 
-      /* Parameter supplied - if no '=' on command line, its a query */
+      /* Parameter supplied - if no '=' on command line, it's a query */
       if (newValue == NULL) {
         WCHAR *space;
         WCHAR subkey[MAXSTRING];
@@ -4720,7 +4720,7 @@ void WCMD_assoc (const WCHAR *args, BOOL assoc) {
           errorlevel = 2;
         }
 
-      /* Not a query - its a set or clear of a value */
+      /* Not a query - it's a set or clear of a value */
       } else {
 
         WCHAR subkey[MAXSTRING];
diff --git a/programs/cmd/tests/test_builtins.cmd b/programs/cmd/tests/test_builtins.cmd
index 78f7cdc..1d1eea4 100644
--- a/programs/cmd/tests/test_builtins.cmd
+++ b/programs/cmd/tests/test_builtins.cmd
@@ -2233,7 +2233,7 @@ rem ******************************************************************
 rem ASCII and BINARY tests
 rem Note: hard coded numbers deliberate because need to ensure whether
 rem an additional EOF has been added or not. There is no way to handle
-rem EOFs in batch, so assume if a single byte appears, its an EOF!
+rem EOFs in batch, so assume if a single byte appears, it's an EOF!
 rem ******************************************************************
 
 rem Confirm original sizes of file1,2,3
@@ -2317,7 +2317,7 @@ call :CheckFileSize file123_mixed_copy4 25
 
 rem -------------------------------------------------------------------------------------------
 rem This shows when concatenating, an ascii destination always adds on an EOF but when we
-rem are not concatenating, its a direct copy regardless of destination if being read as binary
+rem are not concatenating, it's a direct copy regardless of destination if being read as binary
 rem -------------------------------------------------------------------------------------------
 
 rem All 3 have eof's, plus an extra = 6 + 9 + 12 + eof
diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c
index a211efa..647f988 100644
--- a/programs/cmd/wcmdmain.c
+++ b/programs/cmd/wcmdmain.c
@@ -97,7 +97,7 @@ static void WCMD_output_asis_len(const WCHAR *message, DWORD len, HANDLE device)
     /* Try to write as unicode assuming it is to a console */
     res = WriteConsoleW(device, message, len, &nOut, NULL);
 
-    /* If writing to console fails, assume its file
+    /* If writing to console fails, assume it's file
        i/o so convert to OEM codepage and output                  */
     if (!res) {
       BOOL usedDefaultChar = FALSE;
@@ -845,7 +845,7 @@ static void handleExpansion(WCHAR *cmd, BOOL atExecute, BOOL delayed) {
                    wine_dbgstr_w(cmd), atExecute, wine_dbgstr_w(p));
     i = *(p+1) - '0';
 
-    /* Don't touch %% unless its in Batch */
+    /* Don't touch %% unless it's in Batch */
     if (!atExecute && *(p+1) == startchar) {
       if (context) {
         WCMD_strsubstW(p, p+1, NULL, 0);
diff --git a/programs/netstat/netstat.c b/programs/netstat/netstat.c
index 0e52c36..90516da 100644
--- a/programs/netstat/netstat.c
+++ b/programs/netstat/netstat.c
@@ -92,7 +92,7 @@ static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...)
     if (!output_bufW) output_bufW = HeapAlloc(GetProcessHeap(), 0,
                                               MAX_WRITECONSOLE_SIZE*sizeof(WCHAR));
     if (!output_bufW) {
-        WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
+        WINE_FIXME("Out of memory - could not allocate 2 x 64 KB buffers\n");
         return 0;
     }
 
@@ -100,13 +100,13 @@ static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...)
     len = wvsprintfW(output_bufW, format, parms);
     __ms_va_end(parms);
 
-    /* Try to write as unicode all the time we think its a console */
+    /* Try to write as unicode all the time we think it's a console */
     if (toConsole) {
         res = WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE),
                             output_bufW, len, &nOut, NULL);
     }
 
-    /* If writing to console has failed (ever) we assume its file
+    /* If writing to console has failed (ever) we assume it's file
        i/o so convert to OEM codepage and output                  */
     if (!res) {
         BOOL usedDefaultChar = FALSE;
@@ -120,7 +120,7 @@ static int __cdecl NETSTAT_wprintf(const WCHAR *format, ...)
         if (!output_bufA) output_bufA = HeapAlloc(GetProcessHeap(), 0,
                                                   MAX_WRITECONSOLE_SIZE);
         if (!output_bufA) {
-            WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
+            WINE_FIXME("Out of memory - could not allocate 2 x 64 KB buffers\n");
             return 0;
         }
 
diff --git a/programs/taskmgr/affinity.c b/programs/taskmgr/affinity.c
index a3f7864..c195a2d 100644
--- a/programs/taskmgr/affinity.c
+++ b/programs/taskmgr/affinity.c
@@ -286,7 +286,7 @@ AffinityDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
              * Make sure they are giving the process affinity
              * with at least one processor. I'd hate to see a
              * process that is not in a wait state get deprived
-             * of it's cpu time.
+             * of its cpu time.
              */
             if (!dwProcessAffinityMask) {
                 WCHAR wszErrorMsg[255];
diff --git a/programs/taskmgr/optnmenu.c b/programs/taskmgr/optnmenu.c
index 01c4ded..abbcd49 100644
--- a/programs/taskmgr/optnmenu.c
+++ b/programs/taskmgr/optnmenu.c
@@ -112,7 +112,7 @@ void TaskManager_OnOptionsShow16BitTasks(void)
      * FIXME: Currently this is useless because the
      * current implementation doesn't list the 16-bit
      * processes. I believe that would require querying
-     * each ntvdm.exe process for it's children.
+     * each ntvdm.exe process for its children.
      */
 
     /*
diff --git a/programs/taskmgr/proclist.c b/programs/taskmgr/proclist.c
index 90697a1..8ae196d 100644
--- a/programs/taskmgr/proclist.c
+++ b/programs/taskmgr/proclist.c
@@ -59,7 +59,7 @@ LRESULT CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPAR
          */
 
         /*
-         * Get the device context and save it's state
+         * Get the device context and save its state
          * to be restored after we're done
          */
         hDC = (HDC) wParam;
diff --git a/programs/taskmgr/taskmgr.c b/programs/taskmgr/taskmgr.c
index 1fa530a..b876cbf 100644
--- a/programs/taskmgr/taskmgr.c
+++ b/programs/taskmgr/taskmgr.c
@@ -1007,12 +1007,12 @@ TaskManagerWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
         return TRUE;
 
     case WM_SIZE:
-        /* Handle the window sizing in it's own function */
+        /* Handle the window sizing in its own function */
         OnSize(wParam, LOWORD(lParam), HIWORD(lParam));
         break;
 
     case WM_MOVE:
-        /* Handle the window moving in it's own function */
+        /* Handle the window moving in its own function */
         OnMove(wParam, LOWORD(lParam), HIWORD(lParam));
         break;
 
diff --git a/programs/winedbg/debugger.h b/programs/winedbg/debugger.h
index ea9b2d1..ba49f1e 100644
--- a/programs/winedbg/debugger.h
+++ b/programs/winedbg/debugger.h
@@ -42,7 +42,7 @@
 #define ADDRSIZE        (be_cpu->pointer_size)
 #define ADDRWIDTH       (ADDRSIZE * 2)
 
-/* the debugger uses these exceptions for it's internal use */
+/* the debugger uses these exceptions for its internal use */
 #define	DEBUG_STATUS_OFFSET		0x80003000
 #define	DEBUG_STATUS_INTERNAL_ERROR	(DEBUG_STATUS_OFFSET+0) /* something went wrong */
 #define	DEBUG_STATUS_NO_SYMBOL		(DEBUG_STATUS_OFFSET+1) /* no symbol found in lookup */
diff --git a/tools/c2man.pl b/tools/c2man.pl
index a9c4150..f55b1b1 100755
--- a/tools/c2man.pl
+++ b/tools/c2man.pl
@@ -245,7 +245,7 @@ sub process_source_file($)
   };
   my $parse_state = 0;
   my $ignore_blank_lines = 1;
-  my $extra_comment = 0; # 1 if this is an extra comment, i.e its not a .spec export
+  my $extra_comment = 0; # 1 if this is an extra comment, i.e it's not a .spec export
 
   if ($opt_verbose > 0)
   {
@@ -763,7 +763,7 @@ sub process_comment($)
             if ($comment->{COMMENT_NAME} =~ /W$/ )
             {
               # This is probably a Unicode version of an Ascii function.
-              # Create the Ascii name and see if its been documented
+              # Create the Ascii name and see if it has been documented
               my $ascii_name = $comment->{COMMENT_NAME};
               $ascii_name =~ s/W$/A/;
 
diff --git a/tools/winedump/README b/tools/winedump/README
index a6bb59b..cc8b3ec 100644
--- a/tools/winedump/README
+++ b/tools/winedump/README
@@ -398,7 +398,7 @@ couldn't generate code and has placed an '@forward' line in the .spec file):
 
 winedump spec msvcrt -C -o ms_msvcrt
 
-Install this DLL into the wine tree (since its a stub DLL, no changes are
+Install this DLL into the wine tree (since it's a stub DLL, no changes are
 needed to the code).
 
 Now uncomment the line that winedump inserted into msvcrt.spec:
diff --git a/tools/winedump/pdb.c b/tools/winedump/pdb.c
index 2899e77..1b713b1 100644
--- a/tools/winedump/pdb.c
+++ b/tools/winedump/pdb.c
@@ -868,7 +868,7 @@ static void pdb_ds_dump(void)
      *  2: types
      *  3: modules
      * other known streams:
-     * - string table: it's index is in the stream table from ROOT object under "/names"
+     * - string table: its index is in the stream table from ROOT object under "/names"
      * those streams get their indexes out of the PDB_STREAM_INDEXES object
      * - FPO data
      * - segments
diff --git a/tools/wrc/newstruc.c b/tools/wrc/newstruc.c
index 52bafbd..7213c8e 100644
--- a/tools/wrc/newstruc.c
+++ b/tools/wrc/newstruc.c
@@ -870,7 +870,7 @@ static void handle_ani_list(riff_tag_t *lst, enum res_e type, int isswapped)
 		}
 		else if(!memcmp(rtp->tag, inam, sizeof(inam)))
 		{
-			/* Ignore the icon/cursor name; its a string */
+                        /* Ignore the icon/cursor name; it's a string */
 			rtp = NEXT_TAG(rtp);
 		}
 		else if(!memcmp(rtp->tag, iart, sizeof(iart)))
diff --git a/tools/wrc/parser.y b/tools/wrc/parser.y
index 144ae03..0005207 100644
--- a/tools/wrc/parser.y
+++ b/tools/wrc/parser.y
@@ -1786,8 +1786,8 @@ file_raw: filename	{ $$ = load_file($1,dup_language(currentlanguage)); }
 	;
 
 /* ------------------------------ Win32 expressions ------------------------------ */
-/* All win16 numbers are also handled here. This is inconsistent with MS'
- * resource compiler, but what the heck, its just handy to have.
+/* All win16 numbers are also handled here. This is inconsistent with MS
+ * resource compiler, but what the heck, it's just handy to have.
  */
 e_expr	: /* Empty */	{ $$ = 0; }
 	| expr		{ $$ = new_int($1); }
diff --git a/tools/wrc/wrctypes.h b/tools/wrc/wrctypes.h
index 99699d7..0af537e 100644
--- a/tools/wrc/wrctypes.h
+++ b/tools/wrc/wrctypes.h
@@ -176,7 +176,7 @@ enum res_e {
 	res_rdt,
 	res_msg,
 	res_curg,
-	res_13,		/* Hm, wonder why its not used... */
+        res_13,         /* Hm, wonder why it's not used... */
 	res_icog,
 	res_15,
 	res_ver,
-- 
1.8.5.2




More information about the wine-patches mailing list