Spelling fixes.
diff --git a/dlls/opengl32/tests/opengl.c b/dlls/opengl32/tests/opengl.c
index 29f9cce..1a3b770 100644
--- a/dlls/opengl32/tests/opengl.c
+++ b/dlls/opengl32/tests/opengl.c
@@ -97,7 +97,7 @@
      * and a pixelformat that's only available for offscreen rendering (this means that only
      * wglChoosePixelFormatARB and friends know about the format.
      *
-     * The first thing we need are pixelformats with pbuffer capabilites.
+     * The first thing we need are pixelformats with pbuffer capabilities.
      */
     res = pwglChoosePixelFormatARB(hdc, iAttribList, NULL, MAX_FORMATS, iFormats, &nFormats);
     if(res <= 0)
@@ -214,7 +214,7 @@
      * This test tries to proof the DONTCARE behavior by passing an almost 'empty' pfd to
      * ChoosePixelFormat. The pfd only has some really needed flags (RGBA, window, double buffer) set.
      * Further a 32 bit color buffer has been requested. The idea is that when a format with e.g. depth or stencil bits
-     * is returned, while there are also 'better' candidates in the list wihtout them (but located AFTER the returned one)
+     * is returned, while there are also 'better' candidates in the list without them (but located AFTER the returned one)
      * that an option set to zero means DONTCARE. We try to proof this by checking the aux/depth/stencil bits.
      * Proofing this behavior for the color bits isn't possible as all formats have red/green/blue/(alpha), so we assume
      * that if it holds for aux/depth/stencil it also holds for the others.
diff --git a/dlls/quartz/control.c b/dlls/quartz/control.c
index fcd86d2..63bc371 100644
--- a/dlls/quartz/control.c
+++ b/dlls/quartz/control.c
@@ -102,7 +102,7 @@
     SeekInner_Release
 };
 
-/* Generic functions for aggegration */
+/* Generic functions for aggregation */
 static HRESULT WINAPI SeekOuter_QueryInterface(PassThruImpl *This, REFIID riid, LPVOID *ppv)
 {
     if (This->bAggregatable)
diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c
index 2bb5fa7..d31e150 100644
--- a/dlls/quartz/filesource.c
+++ b/dlls/quartz/filesource.c
@@ -783,7 +783,7 @@
     return S_FALSE;
 }
 
-/* overriden pin functions */
+/* overridden pin functions */
 
 static HRESULT WINAPI FileAsyncReaderPin_QueryInterface(IPin * iface, REFIID riid, LPVOID * ppv)
 {
diff --git a/dlls/quartz/mpegsplit.c b/dlls/quartz/mpegsplit.c
index 8daafea..9af8973 100644
--- a/dlls/quartz/mpegsplit.c
+++ b/dlls/quartz/mpegsplit.c
@@ -708,7 +708,7 @@
             This->Parser.pInputPin->rtStop = MEDIATIME_FROM_BYTES(This->EndOfFile);
             This->Parser.pInputPin->rtStart = This->Parser.pInputPin->rtCurrent = MEDIATIME_FROM_BYTES(This->header_bytes);
 
-            /* http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm has a whole readup on audio headers */
+            /* http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm has a whole read up on audio headers */
             while (pos + 3 < This->EndOfFile)
             {
                 LONGLONG length = 0;
diff --git a/dlls/quartz/videorenderer.c b/dlls/quartz/videorenderer.c
index 4c06c44..48faf55 100644
--- a/dlls/quartz/videorenderer.c
+++ b/dlls/quartz/videorenderer.c
@@ -493,7 +493,7 @@
 
 HRESULT VideoRendererDefault_create(IUnknown * pUnkOuter, LPVOID * ppv)
 {
-    /* TODO: Attenmpt to use the VMR-7 renderer instead when possible */
+    /* TODO: Attempt to use the VMR-7 renderer instead when possible */
     return VideoRenderer_create(pUnkOuter, ppv);
 }
 
diff --git a/dlls/riched20/paint.c b/dlls/riched20/paint.c
index d5cb3c7..625f7dd 100644
--- a/dlls/riched20/paint.c
+++ b/dlls/riched20/paint.c
@@ -595,7 +595,7 @@
   switch (type)
   {
     case 1:
-      /*Scroll absolutly*/
+      /*Scroll absolutely*/
       si.nPos = value;
       break;
     case 2:
@@ -628,7 +628,7 @@
  
  void ME_UpdateScrollBar(ME_TextEditor *editor)
 { 
-  /* Note that this is the only funciton that should ever call SetScrolLInfo 
+  /* Note that this is the only function that should ever call SetScrolLInfo
    * with SIF_PAGE or SIF_RANGE. SetScrollPos and SetScrollRange should never
    * be used at all. */
   
diff --git a/dlls/riched20/style.c b/dlls/riched20/style.c
index 43b2a96..8ede1e2 100644
--- a/dlls/riched20/style.c
+++ b/dlls/riched20/style.c
@@ -341,7 +341,7 @@
   if (lf->lfItalic) fmt->dwEffects |= CFM_ITALIC;
   if (lf->lfUnderline) fmt->dwEffects |= CFM_UNDERLINE;
   /* notice that if a logfont was created with underline due to CFM_LINK, this
-      would add an erronious CFM_UNDERLINE. This isn't currently ever a problem */
+      would add an erronous CFM_UNDERLINE. This isn't currently ever a problem */
   if (lf->lfStrikeOut) fmt->dwEffects |= CFM_STRIKEOUT;
   fmt->bPitchAndFamily = lf->lfPitchAndFamily;
   fmt->bCharSet = lf->lfCharSet;
diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 090eaad..f8a3d6a 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -852,7 +852,7 @@
                   "a LONG LINE LONG LINE LONG LINE LONG LINE LONG LINE "
                   "LONG LINE LONG LINE LONG LINE LONG LINE LONG LINE "
                   "LONG LINE \nb\nc\nd\ne");
-    for (j = 0; j < 12; j++) /* reset scrol position to top */
+    for (j = 0; j < 12; j++) /* reset scroll position to top */
       SendMessage(hwndRichEdit, EM_SCROLL, SB_PAGEUP, 0);
 
     /* get first visible line */
@@ -1532,7 +1532,7 @@
 {
   const char** str = (const char**)dwCookie;
   int size = strlen(*str);
-  if(size > 3)  /* let's make it peice-meal for fun */
+  if(size > 3)  /* let's make it piecemeal for fun */
     size = 3;
   *pcb = cb;
   if (*pcb > size) {
diff --git a/dlls/riched20/undo.c b/dlls/riched20/undo.c
index 426daf4..43f8810 100644
--- a/dlls/riched20/undo.c
+++ b/dlls/riched20/undo.c
@@ -247,7 +247,7 @@
   if (!editor->pUndoStack)
     return;
     
-  /* watch out for uncommited transactions ! */
+  /* watch out for uncommitted transactions ! */
   assert(editor->pUndoStack->type == diUndoEndTransaction);
   
   editor->nUndoMode = umAddToRedo;
@@ -280,7 +280,7 @@
   if (!editor->pRedoStack)
     return;
     
-  /* watch out for uncommited transactions ! */
+  /* watch out for uncommitted transactions ! */
   assert(editor->pRedoStack->type == diUndoEndTransaction);
   
   editor->nUndoMode = umAddBackToUndo;
diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c
index 8e9ea5c..5841dc9 100644
--- a/dlls/rpcrt4/ndr_marshall.c
+++ b/dlls/rpcrt4/ndr_marshall.c
@@ -1901,7 +1901,7 @@
 
   TRACE("(%p,%p,%p)\n", pStubMsg, pMemory, pFormat);
 
-  /* incremement the buffer here instead of in PointerMarshall,
+  /* Increment the buffer here instead of in PointerMarshall,
    * as that is used by embedded pointers which already handle the incrementing
    * the buffer, and shouldn't write any additional pointer data to the wire */
   if (*pFormat != RPC_FC_RP)
diff --git a/dlls/rpcrt4/ndr_stubless.c b/dlls/rpcrt4/ndr_stubless.c
index 347db48..06a7afa 100644
--- a/dlls/rpcrt4/ndr_stubless.c
+++ b/dlls/rpcrt4/ndr_stubless.c
@@ -448,7 +448,7 @@
     /* counter */
     unsigned short i;
 
-    /* NOTE: V1 style format does't terminate on the number_of_params
+    /* NOTE: V1 style format doesn't terminate on the number_of_params
      * condition as it doesn't have this attribute. Instead it
      * terminates when the stack size given in the header is exceeded.
      */
@@ -837,7 +837,7 @@
     return RetVal;
 }
 
-/* calls a function with the specificed arguments, restoring the stack
+/* Calls a function with the specified arguments, restoring the stack
  * properly afterwards as we don't know the calling convention of the
  * function */
 #if defined __i386__ && defined _MSC_VER
diff --git a/dlls/rpcrt4/ndr_stubless.h b/dlls/rpcrt4/ndr_stubless.h
index 6ee5ff6..35a228d 100644
--- a/dlls/rpcrt4/ndr_stubless.h
+++ b/dlls/rpcrt4/ndr_stubless.h
@@ -35,7 +35,7 @@
      * RPC_FC_BIND_PRIMITIVE = 32 - Implicit handle using handle_t created by
      *   calling application
      * RPC_FC_AUTO_HANDLE = 33 - Automatic handle
-     * RPC_FC_CALLBACK_HANDLE = 34 - undocmented
+     * RPC_FC_CALLBACK_HANDLE = 34 - undocumented
      */
     unsigned char handle_type;
 
diff --git a/dlls/rpcrt4/rpcrt4_main.c b/dlls/rpcrt4/rpcrt4_main.c
index 0fddc28..8e565af 100644
--- a/dlls/rpcrt4/rpcrt4_main.c
+++ b/dlls/rpcrt4/rpcrt4_main.c
@@ -265,7 +265,7 @@
  *
  * PARAMS
  *     UUID *Uuid         [I] Uuid to compare
- *     RPC_STATUS *Status [O] retuns RPC_S_OK
+ *     RPC_STATUS *Status [O] returns RPC_S_OK
  *
  * RETURNS
  *     TRUE/FALSE
diff --git a/dlls/rpcrt4/rpcss_np_client.h b/dlls/rpcrt4/rpcss_np_client.h
index db65d43..b00066d 100644
--- a/dlls/rpcrt4/rpcss_np_client.h
+++ b/dlls/rpcrt4/rpcss_np_client.h
@@ -23,4 +23,4 @@
 HANDLE RPC_RpcssNPConnect(void);
 BOOL RPCRT4_SendReceiveNPMsg(HANDLE, PRPCSS_NP_MESSAGE, char *,  PRPCSS_NP_REPLY);
 
-#endif /* __RPCSS_NP_CLINET_H */
+#endif /* __RPCSS_NP_CLIENT_H */
diff --git a/dlls/rpcrt4/tests/ndr_marshall.c b/dlls/rpcrt4/tests/ndr_marshall.c
index 6987b55..5419f73 100644
--- a/dlls/rpcrt4/tests/ndr_marshall.c
+++ b/dlls/rpcrt4/tests/ndr_marshall.c
@@ -698,7 +698,7 @@
     my_alloc_called = 0;
     ok(StubMsg.MemorySize == 0, "%s: memorysize touched in unmarshal\n", msgpfx);
 
-    /* if we're a server we still use the suppiled memory */
+    /* If we're a server we still use the supplied memory */
     StubMsg.Buffer = StubMsg.BufferStart;
     StubMsg.IsClient = 0;
     ptr = NdrSimpleStructUnmarshall( &StubMsg, &mem, formattypes, 0 );
diff --git a/dlls/rsaenh/mpi.c b/dlls/rsaenh/mpi.c
index 45c3b94..23207dd 100644
--- a/dlls/rsaenh/mpi.c
+++ b/dlls/rsaenh/mpi.c
@@ -367,7 +367,7 @@
       tmpx = a->dp + tx;
       tmpy = b->dp + ty;
 
-      /* this is the number of times the loop will iterrate, essentially its 
+      /* This is the number of times the loop will iterate, essentially it's
          while (tx++ < a->used && ty-- >= 0) { ... }
        */
       iy = MIN(a->used-tx, ty+1);
@@ -444,7 +444,7 @@
       tmpx = a->dp + tx;
       tmpy = b->dp + ty;
 
-      /* this is the number of times the loop will iterrate, essentially its 
+      /* This is the number of times the loop will iterate, essentially it's
          while (tx++ < a->used && ty-- >= 0) { ... }
        */
       iy = MIN(a->used-tx, ty+1);
@@ -544,7 +544,7 @@
       tmpx = a->dp + tx;
       tmpy = a->dp + ty;
 
-      /* this is the number of times the loop will iterrate, essentially its 
+      /* This is the number of times the loop will iterate, essentially it's
          while (tx++ < a->used && ty-- >= 0) { ... }
        */
       iy = MIN(a->used-tx, ty+1);
@@ -2259,7 +2259,7 @@
  * are saved.  Note also that the call to mp_mul can end up back 
  * in this function if the a0, a1, b0, or b1 are above the threshold.  
  * This is known as divide-and-conquer and leads to the famous 
- * O(N**lg(3)) or O(N**1.584) work which is asymptopically lower than 
+ * O(N**lg(3)) or O(N**1.584) work which is asymptotically lower than
  * the standard O(N**2) that the baseline/comba methods use.  
  * Generally though the overhead of this method doesn't pay off 
  * until a certain size (N ~ 80) is reached.
diff --git a/dlls/rsaenh/rc2.c b/dlls/rsaenh/rc2.c
index 82b7bd3..6b0d2a5 100644
--- a/dlls/rsaenh/rc2.c
+++ b/dlls/rsaenh/rc2.c
@@ -70,7 +70,7 @@
      * key schedule.  One which is normal, and anther which has a hook to
      * use a reduced key length.
      * BSAFE uses the 'retarded' version.  What I previously shipped is
-     * the same as specifying 1024 for the 'bits' parameter.  Bsafe uses
+     * the same as specifying 1024 for the 'bits' parameter.  BSAFE uses
      * a version where the bits parameter is the same as len*8 */
     /* Seems like MS uses the 'retarded' version, too.
      * Adjust effective keylen bits */
diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c
index ad6a166..6b6867e 100644
--- a/dlls/sane.ds/capability.c
+++ b/dlls/sane.ds/capability.c
@@ -147,8 +147,8 @@
             twCC = TWCC_CAPUNSUPPORTED;
             break;
         case CAP_XFERCOUNT:
-            /* This is a required capability that every source need to
-               support but we havev't implemented yet. */
+            /* This is a required capability that every source needs to
+               support but we haven't implemented it yet. */
             twCC = TWCC_SUCCESS;
             break;
         /*case ICAP_COMPRESSION:*/
diff --git a/dlls/sane.ds/sane_i.h b/dlls/sane.ds/sane_i.h
index 11b6eeb..c1f0bee 100644
--- a/dlls/sane.ds/sane_i.h
+++ b/dlls/sane.ds/sane_i.h
@@ -70,7 +70,7 @@
     BOOL                sane_param_valid;  /* true if valid sane_param*/
     INT                 deviceIndex;    /* index of the current device */
 #endif
-    /* Capabiblities */
+    /* Capabilities */
     TW_UINT16		capXferMech;		/* ICAP_XFERMECH */
 } activeDS;