Assorted spelling fixes.

diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index e244e2c..038cf46 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -588,7 +588,7 @@
     if ((err = RegOpenKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
 			      0, KEY_WRITE, &newkey))) {
 	/* not present - what to do ??? */
-	ERR("Can not open key, error=%d, attempting to create\n",
+	ERR("Could not open key, error=%d, attempting to create\n",
 	    err);
 	if ((err = RegCreateKeyExW( mp->extview.hKey, mp->extview.lpszSubKey,
 				    0,
@@ -980,7 +980,7 @@
 				&newkey,
 				&dwdisp))) {
 	/* error - what to do ??? */
-	ERR("(%lu %lu %lx %lx \"%s\" %p): Can not open key, error=%d\n",
+	ERR("(%lu %lu %lx %lx \"%s\" %p): Could not open key, error=%d\n",
 	    mp->extview.cbSize, mp->extview.nMaxItems, mp->extview.dwFlags,
 	    (DWORD)mp->extview.hKey, debugstr_w(mp->extview.lpszSubKey),
 				 mp->extview.lpfnCompare, err);
diff --git a/dlls/comctl32/hotkey.c b/dlls/comctl32/hotkey.c
index aeb39c4..ab8d746 100644
--- a/dlls/comctl32/hotkey.c
+++ b/dlls/comctl32/hotkey.c
@@ -54,7 +54,7 @@
     BYTE  CurrMod;
     INT   CaretPos;
     DWORD ScanCode;
-    WCHAR strNone[15]; /* hope its long enough ... */
+    WCHAR strNone[15]; /* hope it's long enough ... */
 } HOTKEY_INFO;
 
 static const WCHAR HOTKEY_plussep[] = { ' ', '+', ' ' };
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 3280045..b87309d 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -98,7 +98,7 @@
  *     nothing
  *
  * NOTES
- *     This function can NOT be used to reduce the number of images.
+ *     This function CANNOT be used to reduce the number of images.
  */
 static void
 IMAGELIST_InternalExpandBitmaps (HIMAGELIST himl, INT nImageCount, INT cx, INT cy)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index e935f43..8a9274c 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -8617,7 +8617,7 @@
 {
     TRACE("infoPtr->bRedraw=%d, bRedraw=%d\n", infoPtr->bRedraw, bRedraw);
 
-    /* we can not use straight equality here because _any_ non-zero value is TRUE */
+    /* we cannot use straight equality here because _any_ non-zero value is TRUE */
     if ((infoPtr->bRedraw && bRedraw) || (!infoPtr->bRedraw && !bRedraw)) return 0;
 
     infoPtr->bRedraw = bRedraw;
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 4cb0160..153c2e3 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -6233,7 +6233,7 @@
      * forgets to specify TBSTYLE_TRANSPARENT but does specify either
      * CCS_TOP or CCS_BOTTOM (_NOMOVEY and _TOP), then the control
      * does *not* set TBSTYLE_TRANSPARENT even though it should!!!!
-     * Some how, the only cases of this seem to be MFC programs.
+     * Somehow, the only cases of this seem to be MFC programs.
      *
      * Note also that the addition of _TRANSPARENT occurs *only* here. It
      * does not occur in the WM_STYLECHANGING routine.
diff --git a/dlls/dsound/buffer.c b/dlls/dsound/buffer.c
index 2856ea9..02f6021 100644
--- a/dlls/dsound/buffer.c
+++ b/dlls/dsound/buffer.c
@@ -554,7 +554,7 @@
             if (wfwritten)
                 *wfwritten = size;
         } else {
-            WARN("invalid parameter: wfsize to small\n");
+            WARN("invalid parameter: wfsize too small\n");
             if (wfwritten)
                 *wfwritten = 0;
             return DSERR_INVALIDPARAM;
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 0669b4a..a16d511 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -649,7 +649,7 @@
             if (wfwritten)
                 *wfwritten = size;
         } else {
-            WARN("invalid parameter: wfsize to small\n");
+            WARN("invalid parameter: wfsize too small\n");
             if (wfwritten)
                 *wfwritten = 0;
             return DSERR_INVALIDPARAM;
diff --git a/dlls/gdi/bitblt.c b/dlls/gdi/bitblt.c
index dc8b98b..668adae 100644
--- a/dlls/gdi/bitblt.c
+++ b/dlls/gdi/bitblt.c
@@ -323,7 +323,7 @@
     int oldStretchMode;
 
     if(widthDest < 0 || heightDest < 0 || widthSrc < 0 || heightSrc < 0) {
-        TRACE("Can not mirror\n");
+        TRACE("Cannot mirror\n");
         return FALSE;
     }
 
diff --git a/dlls/gdi/palette.c b/dlls/gdi/palette.c
index febcfa0..80ae495 100644
--- a/dlls/gdi/palette.c
+++ b/dlls/gdi/palette.c
@@ -124,7 +124,7 @@
     if (palObj)
     {
         if (!(palObj->mapping = HeapAlloc( GetProcessHeap(), 0, sizeof(int) * NB_RESERVED_COLORS )))
-            ERR("Can not create palette mapping -- out of memory!\n");
+            ERR("Cannot create palette mapping -- out of memory!\n");
         GDI_ReleaseObj( hpalette );
     }
     return hpalette;
@@ -401,7 +401,7 @@
         int *newMap = HeapReAlloc(GetProcessHeap(), 0, mapping, cEntries * sizeof(int) );
 	if(newMap == NULL)
         {
-            ERR("Can not resize mapping -- out of memory!\n");
+            ERR("Cannot resize mapping -- out of memory!\n");
             GDI_ReleaseObj( hPal );
             return FALSE;
         }
diff --git a/dlls/kernel/profile.c b/dlls/kernel/profile.c
index 087cf0f..a17e1bc 100644
--- a/dlls/kernel/profile.c
+++ b/dlls/kernel/profile.c
@@ -1580,12 +1580,12 @@
  * Win95:
  * - if the buffer is 0 or 1 character long then it is as if it was of
  *   infinite length.
- * - otherwise, if the buffer is to small only the section names that fit
+ * - otherwise, if the buffer is too small only the section names that fit
  *   are returned.
- * - note that this means if the buffer was to small to return even just
+ * - note that this means if the buffer was too small to return even just
  *   the first section name then a single '\0' will be returned.
  * - the return value is the number of characters written in the buffer,
- *   except if the buffer was too smal in which case len-2 is returned
+ *   except if the buffer was too small in which case len-2 is returned
  *
  * Win2000:
  * - if the buffer is 0, 1 or 2 characters long then it is filled with
diff --git a/dlls/kernel/tests/file.c b/dlls/kernel/tests/file.c
index 2fdd28c..5eb66aa 100644
--- a/dlls/kernel/tests/file.c
+++ b/dlls/kernel/tests/file.c
@@ -1277,7 +1277,7 @@
     ok( hmap == NULL, "mapping should fail\n");
     /* GetLastError() varies between win9x and WinNT and also depends on the filesystem */
 
-    /* On XP you can now map again, on Win 95 you can not. */
+    /* On XP you can now map again, on Win 95 you cannot. */
 
     ok( CloseHandle( handle ), "can't close file handle\n");
     ok( DeleteFileA( filename ), "DeleteFile failed after map\n" );
diff --git a/dlls/kernel/volume.c b/dlls/kernel/volume.c
index 2599278..c85a1aa 100644
--- a/dlls/kernel/volume.c
+++ b/dlls/kernel/volume.c
@@ -1192,7 +1192,7 @@
  *   DRIVE_UNKNOWN     unable to find out anything about the drive
  *   DRIVE_NO_ROOT_DIR nonexistent root dir
  *   DRIVE_REMOVABLE   the disk can be removed from the machine
- *   DRIVE_FIXED       the disk can not be removed from the machine
+ *   DRIVE_FIXED       the disk cannot be removed from the machine
  *   DRIVE_REMOTE      network disk
  *   DRIVE_CDROM       CDROM drive
  *   DRIVE_RAMDISK     virtual disk in RAM
diff --git a/dlls/kernel/wowthunk.c b/dlls/kernel/wowthunk.c
index eb44d54..9471a98 100644
--- a/dlls/kernel/wowthunk.c
+++ b/dlls/kernel/wowthunk.c
@@ -776,7 +776,7 @@
         return 0;
     }
 
-    /* if the file can not be found, call LoadLibraryExA anyway, since it might be
+    /* if the file cannot be found, call LoadLibraryExA anyway, since it might be
        a builtin module. This case is handled in MODULE_LoadLibraryExA */
 
     if ((p = strrchr( lpszLibFile, '.' )) && !strchr( p, '\\' ))  /* got an extension */
diff --git a/dlls/ntdll/rtlstr.c b/dlls/ntdll/rtlstr.c
index 50e4202..7447ea1 100644
--- a/dlls/ntdll/rtlstr.c
+++ b/dlls/ntdll/rtlstr.c
@@ -1288,7 +1288,7 @@
  *
  * RETURNS
  *  Success: STATUS_SUCCESS. src is appended to dest.
- *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
+ *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
  *                  to hold the concatenated string.
  *
  * NOTES
@@ -1318,7 +1318,7 @@
  *
  * RETURNS
  *  Success: STATUS_SUCCESS. src is appended to dest.
- *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
+ *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
  *                  to hold the concatenated string.
  *
  * NOTES
@@ -1348,7 +1348,7 @@
  *
  * RETURNS
  *  Success: STATUS_SUCCESS. src is appended to dest.
- *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
+ *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
  *                  to hold the concatenated string.
  *
  * NOTES
@@ -1387,7 +1387,7 @@
  *
  * RETURNS
  *  Success: STATUS_SUCCESS. src is appended to dest.
- *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is to small
+ *  Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small
  *                  to hold the concatenated string.
  *
  * NOTES
diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index e09a6b4..d59e008 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -658,7 +658,7 @@
         if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL)
         {
             if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND)
-                WARN("ProxyODBC: Can not load ODBC driver manager library.\n");
+                WARN("ProxyODBC: Cannot load ODBC driver manager library.\n");
 
             if (HandleType == SQL_HANDLE_ENV)
                 *OutputHandle = SQL_NULL_HENV;
@@ -716,7 +716,7 @@
         if (!gProxyHandle.bFunctionReady || gProxyHandle.dmHandle == NULL)
         {
             if (gProxyHandle.nErrorType == ERROR_LIBRARY_NOT_FOUND)
-                WARN("ProxyODBC: Can not load ODBC driver manager library.\n");
+                WARN("ProxyODBC: Cannot load ODBC driver manager library.\n");
 
             if (HandleType == SQL_HANDLE_ENV)
                 *OutputHandle = SQL_NULL_HENV;
diff --git a/dlls/opengl32/wgl_ext.c b/dlls/opengl32/wgl_ext.c
index fc09043..04cdac6 100644
--- a/dlls/opengl32/wgl_ext.c
+++ b/dlls/opengl32/wgl_ext.c
@@ -825,7 +825,7 @@
  *
  * @WARNING: this list must be ordered by name
  *
- * @TODO: real handle caps on providing some func_init functions (third param, ex: to check extentions)
+ * @TODO: real handle caps on providing some func_init functions (third param, ex: to check extensions)
  */
 WGL_extension wgl_extension_registry[] = {
     { "wglBindTexImageARB", (void *) wglBindTexImageARB, NULL, NULL},
diff --git a/dlls/shell32/shell32_En.rc b/dlls/shell32/shell32_En.rc
index 027f3bd..3bcf385 100644
--- a/dlls/shell32/shell32_En.rc
+++ b/dlls/shell32/shell32_En.rc
@@ -158,10 +158,10 @@
 	IDS_SELECT		"Select"
 	IDS_OPEN		"Open"
 
-	IDS_CREATEFOLDER_DENIED "Can not create new Folder: Permission denied."
+	IDS_CREATEFOLDER_DENIED "Unable to create new Folder: Permission denied."
 	IDS_CREATEFOLDER_CAPTION "Error during creation of a new folder"
-	IDS_DELETEITEM_CAPTION "Confirm file delete"
-	IDS_DELETEFOLDER_CAPTION "Confirm folder delete"
+	IDS_DELETEITEM_CAPTION "Confirm file deletion"
+	IDS_DELETEFOLDER_CAPTION "Confirm folder deletion"
 	IDS_DELETEITEM_TEXT "Are you sure you want to delete '%1'?"
 	IDS_DELETEMULTIPLE_TEXT "Are you sure you want to delete these %1 items?"
 	IDS_OVERWRITEFILE_TEXT "OverWrite File %1?"
diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c
index 5e12e81..0f9d9b2 100644
--- a/dlls/shell32/shlfileop.c
+++ b/dlls/shell32/shlfileop.c
@@ -817,7 +817,7 @@
 	  if (ForFree)
 	  {
 	    retCode = SHFileOperationW(&nFileOp);
-	    HeapFree(GetProcessHeap(), 0, ForFree); /* we can not use wString, it was changed */
+	    HeapFree(GetProcessHeap(), 0, ForFree); /* we cannot use wString, it was changed */
 	    break;
 	  }
 	  else
diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c
index 218f433..2df3d8c 100644
--- a/dlls/shell32/tests/shlfileop.c
+++ b/dlls/shell32/tests/shlfileop.c
@@ -388,7 +388,7 @@
 
     set_curr_dir_path(from, "test1.txt\0test2.txt\0test4.txt\0");
     set_curr_dir_path(to, "test6.txt\0test7.txt\0test8.txt\0");
-    ok(SHFileOperationA(&shfo), "Can not move many files\n");
+    ok(SHFileOperationA(&shfo), "Cannot move many files\n");
     ok(file_exists(".\\test1.txt"), "The file is not moved. Many files are specified\n");
     ok(file_exists(".\\test4.txt"), "The directory is not moved. Many files are specified\n");
 
diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c
index 99ee92b..4ba0273 100644
--- a/dlls/shlwapi/reg.c
+++ b/dlls/shlwapi/reg.c
@@ -1300,10 +1300,10 @@
  *
  *   REG_EXPAND_SZ:
  *     case-1: the unexpanded string is smaller than the expanded one
- *       subcase-1: the buffer is to small to hold the unexpanded string:
+ *       subcase-1: the buffer is too small to hold the unexpanded string:
  *          function fails and returns the size of the unexpanded string.
  *
- *       subcase-2: buffer is to small to hold the expanded string:
+ *       subcase-2: buffer is too small to hold the expanded string:
  *          the function return success (!!) and the result is truncated
  *	    *** This is clearly an error in the native implementation. ***
  *
@@ -1332,7 +1332,7 @@
     /* Expand type REG_EXPAND_SZ into REG_SZ */
     LPSTR szData;
 
-    /* If the caller didn't supply a buffer or the buffer is to small we have
+    /* If the caller didn't supply a buffer or the buffer is too small we have
      * to allocate our own
      */
     if ((!pvData) || (dwRet == ERROR_MORE_DATA) )
diff --git a/dlls/winspool/info.c b/dlls/winspool/info.c
index 97fe7e7..df844a5 100644
--- a/dlls/winspool/info.c
+++ b/dlls/winspool/info.c
@@ -3343,7 +3343,7 @@
 
     /* make the buffer big enough for the stuff from the profile/registry,
      * the content must fit into the local buffer to compute the correct
-     * size even if the extern buffer is to small or not given.
+     * size even if the extern buffer is too small or not given.
      * (20 for ,driver,port) */
     insize = *namesize;
     len = max(100, (insize + 20));
diff --git a/dlls/x11drv/palette.c b/dlls/x11drv/palette.c
index 07741e0..ae09c9e 100644
--- a/dlls/x11drv/palette.c
+++ b/dlls/x11drv/palette.c
@@ -322,7 +322,7 @@
     int i;
 
     if((COLOR_sysPal = HeapAlloc(GetProcessHeap(), 0, sizeof(PALETTEENTRY)*palette_size)) == NULL) {
-        WARN("Can not allocate system palette\n");
+        WARN("Unable to allocate the system palette\n");
         return FALSE;
     }
 
@@ -578,7 +578,7 @@
 
    COLOR_sysPal = HeapAlloc(GetProcessHeap(),0,sizeof(PALETTEENTRY)*256);
    if(COLOR_sysPal == NULL) {
-       ERR("Can not allocate system palette!\n");
+       ERR("Unable to allocate the system palette!\n");
        HeapFree(GetProcessHeap(), 0, pixDynMapping);
        return FALSE;
    }
@@ -1095,7 +1095,7 @@
                            sizeof(int)*palPtr->logpalette.palNumEntries);
 
     if(mapping == NULL) {
-        ERR("Can not allocate new mapping -- memory exausted!\n");
+        ERR("Unable to allocate new mapping -- memory exhausted!\n");
         return 0;
     }
     palPtr->mapping = mapping;
diff --git a/documentation/configuring.sgml b/documentation/configuring.sgml
index 87cac98..5520c88 100644
--- a/documentation/configuring.sgml
+++ b/documentation/configuring.sgml
@@ -1435,7 +1435,7 @@
             <filename>c:\AnApp</filename> directories as well as have
             read access to the entire FAT filesystem.  On this system
             the FAT filesystem has default permissions which should not
-            be changed for security reasons or can not be changed due to
+            be changed for security reasons or cannot be changed due to
             lack of root access.  On this system a shadow directory
             might be set up in the following manner:
           </para>
diff --git a/documentation/debugging.sgml b/documentation/debugging.sgml
index 4b579d8..6b5034a 100644
--- a/documentation/debugging.sgml
+++ b/documentation/debugging.sgml
@@ -59,7 +59,7 @@
               <para>
                 These are warning messages. You should report a
                 warning when something unwanted happens, and the
-		function can not deal with the condition. This
+		function cannot deal with the condition. This
 		is seldomly used since proper functions can usually
 		report failures back to the caller. Think twice before
 		making the message a warning.
diff --git a/documentation/opengl.sgml b/documentation/opengl.sgml
index dbf8e88..cd47ba6 100644
--- a/documentation/opengl.sgml
+++ b/documentation/opengl.sgml
@@ -12,7 +12,7 @@
 	that is needed.
       </para>
       <para>
-        To be more clear, I will detail one step after another what
+        For clarity, I will detail one step after another what
         the <command>configure</command> script checks.
       </para>
       <para>
diff --git a/documentation/winedev-coding.sgml b/documentation/winedev-coding.sgml
index 5cdb82a..55409fe 100644
--- a/documentation/winedev-coding.sgml
+++ b/documentation/winedev-coding.sgml
@@ -300,7 +300,7 @@
 	There <emphasis>are</emphasis> exceptions to the "avoid
 	<symbol>#ifdef MyOS</symbol>" rule. Wine, for example, needs
 	the internals of the signal stack -- that cannot easily be
-	described in terms of features. Moreover, you can not use
+	described in terms of features. Moreover, you cannot use
 	<filename>autoconf</filename>'s <symbol>HAVE_*</symbol>
 	symbols in Wine's headers, as these may be used by Winelib
 	users who may not be using a <filename>configure</filename>
diff --git a/documentation/winedev-otherdebug.sgml b/documentation/winedev-otherdebug.sgml
index 89621ad..890f509 100644
--- a/documentation/winedev-otherdebug.sgml
+++ b/documentation/winedev-otherdebug.sgml
@@ -604,7 +604,7 @@
         <screen>
 INT file;
 
-/* Check for non-existent file. */
+/* Check for nonexistent file */
 file = LZOpenFile("badfilename_", &amp;test, OF_READ);
 ok(file == LZERROR_BADINHANDLE, 
    "LZOpenFile succeeded on nonexistent file\n");
diff --git a/documentation/winelib-mfc.sgml b/documentation/winelib-mfc.sgml
index 68fe423..3e93c47 100644
--- a/documentation/winelib-mfc.sgml
+++ b/documentation/winelib-mfc.sgml
@@ -80,7 +80,7 @@
       <para>
         First you must legally get MFC source code on your computer. The MFC
         source code comes as a part of Visual Studio. The license for
-        Visual Studio implies it is a single product that can not
+        Visual Studio implies it is a single product that cannot
         be broken up into its components. So the cleanest way to get MFC on
         your system is to buy Visual Studio and install it on a dual boot
         Linux box.
diff --git a/programs/notepad/En.rc b/programs/notepad/En.rc
index d13210a..55184c2 100644
--- a/programs/notepad/En.rc
+++ b/programs/notepad/En.rc
@@ -121,7 +121,7 @@
 Do you want to create a new file ?"
 STRING_NOTSAVED,                                "File '%s'\nhas been modified\n\n \
 Would you like to save the changes ?"
-STRING_NOTFOUND,                                        "'%s' can not be found."
+STRING_NOTFOUND,                                        "'%s' could not be found."
 STRING_OUT_OF_MEMORY,                   "Not enough memory to complete this \
 task. \nClose one or more applications to increase the amount of \nfree \
 memory."
diff --git a/programs/wineconsole/wineconsole.c b/programs/wineconsole/wineconsole.c
index 6fc0674..4ac8ea3 100644
--- a/programs/wineconsole/wineconsole.c
+++ b/programs/wineconsole/wineconsole.c
@@ -246,7 +246,7 @@
 	    continue;
 	}
 
-	if (ev_found != -1 &&  /* Only 2 cases where they can NOT merge */
+	if (ev_found != -1 &&  /* Only 2 cases where they CANNOT merge */
 	    !(evts[i       ].u.update.bottom + 1 < evts[ev_found].u.update.top ||
 	      evts[ev_found].u.update.bottom + 1 < evts[i       ].u.update.top))
 	{
diff --git a/tools/winegcc/utils.c b/tools/winegcc/utils.c
index 6d5d31e..09e0a5e 100644
--- a/tools/winegcc/utils.c
+++ b/tools/winegcc/utils.c
@@ -53,7 +53,7 @@
     void* p;
 
     if ((p = malloc (size)) == NULL)
-	error("Can not malloc %d bytes.", size);
+	error("Could not malloc %d bytes.", size);
 
     return p;
 }
@@ -62,7 +62,7 @@
 {
     void* p2 = realloc (p, size);
     if (size && !p2)
-	error("Can not realloc %d bytes.", size);
+	error("Could not realloc %d bytes.", size);
 
     return p2;
 }
@@ -195,7 +195,7 @@
     if (verbose) printf("Creating file %s\n", name);
     va_start(ap, fmt);
     if ( !(file = fopen(name, "w")) )
-	error ("Can not create %s.", name);
+	error("Unable to open %s for writing.", name);
     vfprintf(file, fmt, ap);
     va_end(ap);
     fclose(file);