comctl32: Add opening and closing brackets and remove spaces

Andrey Gusev andrey.goosev at gmail.com
Sat Jan 4 05:20:32 CST 2014


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140104/34ef9f1a/attachment.html>
-------------- next part --------------
From 03660f36734f4ad17459499764081b48ed56973b Mon Sep 17 00:00:00 2001
Message-Id: <03660f36734f4ad17459499764081b48ed56973b.1388832715.git.andrey.goosev at gmail.com>
From: Andrey Gusev <andrey.goosev at gmail.com>
Date: Sat, 4 Jan 2014 12:40:50 +0200
Subject: comctl32: Add opening and closing brackets and remove spaces

---
 dlls/comctl32/animate.c   | 2 +-
 dlls/comctl32/dpa.c       | 2 +-
 dlls/comctl32/imagelist.c | 2 +-
 dlls/comctl32/listview.c  | 6 +++---
 dlls/comctl32/treeview.c  | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
index a86ff85..930c017 100644
--- a/dlls/comctl32/animate.c
+++ b/dlls/comctl32/animate.c
@@ -499,7 +499,7 @@ static BOOL ANIMATE_GetAviInfo(ANIMATE_INFO *infoPtr)
 
     if ((ckMainRIFF.ckid != FOURCC_RIFF) ||
 	(ckMainRIFF.fccType != mmioFOURCC('A', 'V', 'I', ' '))) {
-	WARN("Can't find 'AVI ' chunk\n");
+	WARN("Can't find 'AVI' chunk\n");
 	return FALSE;
     }
 
diff --git a/dlls/comctl32/dpa.c b/dlls/comctl32/dpa.c
index 11dd14f..0b96df6 100644
--- a/dlls/comctl32/dpa.c
+++ b/dlls/comctl32/dpa.c
@@ -269,7 +269,7 @@ BOOL WINAPI DPA_Merge (HDPA hdpa1, HDPA hdpa2, DWORD dwFlags,
     INT nResult, i;
     INT nIndex;
 
-    TRACE("%p %p %08x %p %p %08lx)\n",
+    TRACE("(%p %p %08x %p %p %08lx)\n",
            hdpa1, hdpa2, dwFlags, pfnCompare, pfnMerge, lParam);
 
     if (IsBadWritePtr (hdpa1, sizeof(*hdpa1)))
diff --git a/dlls/comctl32/imagelist.c b/dlls/comctl32/imagelist.c
index 6461df6..ec90a9c 100644
--- a/dlls/comctl32/imagelist.c
+++ b/dlls/comctl32/imagelist.c
@@ -2889,7 +2889,7 @@ ImageList_SetImageCount (HIMAGELIST himl, UINT iImageCount)
 	himl->hbmImage = hbmNewBitmap;
     }
     else
-	ERR("Could not create new image bitmap !\n");
+	ERR("Could not create new image bitmap!\n");
 
     if (himl->hbmMask)
     {
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 5ce7de2..bc9a04c 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -8247,7 +8247,7 @@ static BOOL LISTVIEW_SetColumnWidth(LISTVIEW_INFO *infoPtr, INT nColumn, INT cx)
     INT max_cx = 0;
     HDITEMW hdi;
 
-    TRACE("(nColumn=%d, cx=%d\n", nColumn, cx);
+    TRACE("(nColumn=%d, cx=%d)\n", nColumn, cx);
 
     /* set column width only if in report or list mode */
     if (infoPtr->uView != LV_VIEW_DETAILS && infoPtr->uView != LV_VIEW_LIST) return FALSE;
@@ -8631,7 +8631,7 @@ static HIMAGELIST LISTVIEW_SetImageList(LISTVIEW_INFO *infoPtr, INT nType, HIMAG
     INT oldHeight = infoPtr->nItemHeight;
     HIMAGELIST himlOld = 0;
 
-    TRACE("(nType=%d, himl=%p\n", nType, himl);
+    TRACE("(nType=%d, himl=%p)\n", nType, himl);
 
     switch (nType)
     {
@@ -8786,7 +8786,7 @@ static BOOL LISTVIEW_SetItemPosition(LISTVIEW_INFO *infoPtr, INT nItem, const PO
 {
     POINT Origin, Pt;
 
-    TRACE("(nItem=%d, pt=%s\n", nItem, wine_dbgstr_point(pt));
+    TRACE("(nItem=%d, pt=%s)\n", nItem, wine_dbgstr_point(pt));
 
     if (!pt || nItem < 0 || nItem >= infoPtr->nItemCount ||
 	!(infoPtr->uView == LV_VIEW_ICON || infoPtr->uView == LV_VIEW_SMALLICON)) return FALSE;
diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c
index a885543..b2eed3c 100644
--- a/dlls/comctl32/treeview.c
+++ b/dlls/comctl32/treeview.c
@@ -3428,7 +3428,7 @@ TREEVIEW_Expand(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *item,
     TREEVIEW_ITEM *nextItem, *tmpItem;
     BOOL sendsNotifications;
 
-    TRACE("(%p, %p, partial=%d, %d\n", infoPtr, item, partial, user);
+    TRACE("(%p, %p, partial=%d, %d)\n", infoPtr, item, partial, user);
 
     if (!TREEVIEW_HasChildren(infoPtr, item))
 	return FALSE;
-- 
1.8.1.2


More information about the wine-patches mailing list