Assorted spelling fixes.

Francois Gouget fgouget at free.fr
Wed Jul 3 05:11:13 CDT 2013


---
 dlls/shell32/iconcache.c       |    6 +++---
 dlls/shell32/tests/shelllink.c |    6 ++++--
 dlls/user32/tests/edit.c       |    2 +-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dlls/shell32/iconcache.c b/dlls/shell32/iconcache.c
index 91f0eb5..e2300f1 100644
--- a/dlls/shell32/iconcache.c
+++ b/dlls/shell32/iconcache.c
@@ -880,11 +880,11 @@ INT WINAPI SHGetIconOverlayIndexW(LPCWSTR pszIconPath, INT iIconIndex)
 /****************************************************************************
  * SHGetStockIconInfo [SHELL32.@]
  *
- * Receive informations for builtin icons
+ * Receive information for builtin icons
  *
  * PARAMS
- *  id      [I]  selected icon-id to get informations
- *  flags   [I]  select informations to receive
+ *  id      [I]  selected icon-id to get information for
+ *  flags   [I]  selects the information to receive
  *  sii     [IO] SHSTOCKICONINFO structure to fill
  *
  * RETURNS
diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c
index 5aee5de..1d677f4 100644
--- a/dlls/shell32/tests/shelllink.c
+++ b/dlls/shell32/tests/shelllink.c
@@ -1047,8 +1047,10 @@ static void test_SHGetStockIconInfo(void)
 
         if (atleast_win7 && (i == (SIID_MAX_ICONS - 1)) && broken(hr == E_INVALIDARG))
         {
-            /* off by one windows bug: there are SIID_MAX_ICONS icons from 0 upto
-               SIID_MAX_ICONS-1 on win8, but the last one is missing on win7 */
+            /* Off by one windows bug: there are SIID_MAX_ICONS icons from 0
+             * up to SIID_MAX_ICONS-1 on Windows 8, but the last one is missing
+             * on Windows 7.
+             */
             trace("%3d: got E_INVALIDARG (windows bug: off by one)\n", i);
         }
         else if (atleast_win7 && (i < (SIID_MAX_ICONS)))
diff --git a/dlls/user32/tests/edit.c b/dlls/user32/tests/edit.c
index 700dfb0..fb4a8b3 100644
--- a/dlls/user32/tests/edit.c
+++ b/dlls/user32/tests/edit.c
@@ -2628,7 +2628,7 @@ static void test_EM_GETHANDLE(void)
     len = SendMessageA(hEdit, WM_GETTEXTLENGTH, 0, 0);
     ok((r == 1) && (len == lstrlenA(str1)), "got %d and %d (expected 1 and %d)\n", r, len, lstrlenA(str1));
 
-    /* everything is normal upto EM_GETHANDLE */
+    /* everything is normal up to EM_GETHANDLE */
     hmem = (HGLOBAL) SendMessage(hEdit, EM_GETHANDLE, 0, 0);
     /* Some messages still work while other messages fail.
        After LocalFree the memory handle, messages can crash the app */
-- 
1.7.10.4



More information about the wine-patches mailing list