[PATCH] comctl32: Typo and spelling fixes in comments.

Francois Gouget fgouget at free.fr
Sun Sep 1 21:30:40 CDT 2019


Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/comctl32/commctrl.c        | 2 +-
 dlls/comctl32/datetime.c        | 2 +-
 dlls/comctl32/rebar.c           | 2 +-
 dlls/comctl32/syslink.c         | 2 +-
 dlls/comctl32/tests/imagelist.c | 2 +-
 dlls/comctl32/toolbar.c         | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/comctl32/commctrl.c b/dlls/comctl32/commctrl.c
index 82ed38ebe52..ac53a2cf0fa 100644
--- a/dlls/comctl32/commctrl.c
+++ b/dlls/comctl32/commctrl.c
@@ -671,7 +671,7 @@ CreateUpDownControl (DWORD style, INT x, INT y, INT cx, INT cy,
  *
  * NOTES
  *     This function is just a dummy - all the controls are registered at
- *     the DLL initialization time. See InitCommonContolsEx for details.
+ *     the DLL initialization time. See InitCommonControlsEx for details.
  */
 
 VOID WINAPI
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index 9e91a2f9487..05ae3a61c0e 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -237,7 +237,7 @@ DATETIME_SetSystemTime (DATETIME_INFO *infoPtr, DWORD flag, const SYSTEMTIME *sy
  * *'dddddd' is handled as 'dddd' plus 'dd'.
  * *unrecognized formats are strings (here given the type DT_STRING;
  * start of the string is encoded in lower bits of DT_STRING.
- * Therefore, 'string' ends finally up as '<show seconds>tring'.
+ * Therefore, 'string' ends up as '<show seconds>tring'.
  *
  */
 static void
diff --git a/dlls/comctl32/rebar.c b/dlls/comctl32/rebar.c
index f113bb2d1f1..8c667a192b3 100644
--- a/dlls/comctl32/rebar.c
+++ b/dlls/comctl32/rebar.c
@@ -2135,7 +2135,7 @@ REBAR_HandleUDDrag (REBAR_INFO *infoPtr, const POINT *ptsmove)
     }
     else
     {
-        /* Place the band in the prexisting row the mouse is hovering over */
+        /* Place the band in the preexisting row the mouse is hovering over */
         iRowBegin = first_visible(infoPtr);
         while(iRowBegin < infoPtr->uNumBands)
         {
diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c
index 7b9cccfc989..b2d36826d2a 100644
--- a/dlls/comctl32/syslink.c
+++ b/dlls/comctl32/syslink.c
@@ -951,7 +951,7 @@ static LRESULT SYSLINK_SetText (SYSLINK_INFO *infoPtr, LPCWSTR Text)
 
 /***********************************************************************
  *           SYSLINK_SetFocusLink
- * Updates the focus status bits and focusses the specified link.
+ * Updates the focus status bits and focuses the specified link.
  * If no document item is specified, the focus bit will be removed from all links.
  * Returns the previous focused item.
  */
diff --git a/dlls/comctl32/tests/imagelist.c b/dlls/comctl32/tests/imagelist.c
index 0e62ab9e0c8..daa1715e7ee 100644
--- a/dlls/comctl32/tests/imagelist.c
+++ b/dlls/comctl32/tests/imagelist.c
@@ -2164,7 +2164,7 @@ static void test_color_table(UINT ilc)
     rgb[2].rgbBlue = 0xff;
     check_color_table("remove all, add 8", hdc, himl, ilc, rgb, default_table);
 
-    /* remove all, add 4. Color table remains the same since it's inplicitly
+    /* remove all, add 4. Color table remains the same since it's implicitly
        been set by the previous _Add */
     ret = pImageList_Remove(himl, -1);
     ok(ret, "got %d\n", ret);
diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c
index 4e4fd757b16..ceab5328bc7 100644
--- a/dlls/comctl32/toolbar.c
+++ b/dlls/comctl32/toolbar.c
@@ -5691,7 +5691,7 @@ TOOLBAR_LButtonUp (TOOLBAR_INFO *infoPtr, WPARAM wParam, LPARAM lParam)
 
             if (nButton == infoPtr->nButtonDrag)
             {
-                /* if the button is moved sightly left and we have a
+                /* if the button is moved slightly left and we have a
                  * separator there then remove it */
                 if (pt.x < (btnPtr->rect.left + (btnPtr->rect.right - btnPtr->rect.left)/2))
                 {
-- 
2.20.1



More information about the wine-devel mailing list