DPRINTF->TRACE controls
Tony Lambregts
tony_lambregts at telusplanet.net
Fri Mar 14 17:39:19 CST 2003
Change Log: Replace DPRINTF with TRACE
Files changed: controls/listbox.c
controls/scroll.c
--
Tony Lambregts
-------------- next part --------------
Index: listbox.c
===================================================================
RCS file: /home/wine/wine/controls/listbox.c,v
retrieving revision 1.91
diff -u -r1.91 listbox.c
--- listbox.c 8 Jan 2003 21:09:28 -0000 1.91
+++ listbox.c 14 Mar 2003 23:42:33 -0000
@@ -750,9 +750,9 @@
TRACE("[%p]: settabstops ", hwnd );
for (i = 0; i < descr->nb_tabs; i++) {
descr->tabs[i] = *p++<<1; /* FIXME */
- if (TRACE_ON(listbox)) DPRINTF("%hd ", descr->tabs[i]);
+ if (TRACE_ON(listbox)) TRACE("%hd ", descr->tabs[i]);
}
- if (TRACE_ON(listbox)) DPRINTF("\n");
+ if (TRACE_ON(listbox)) TRACE("\n");
}
else memcpy( descr->tabs, tabs, descr->nb_tabs * sizeof(INT) );
/* FIXME: repaint the window? */
Index: scroll.c
===================================================================
RCS file: /home/wine/wine/controls/scroll.c,v
retrieving revision 1.64
diff -u -r1.64 scroll.c
--- scroll.c 7 Mar 2003 23:08:38 -0000 1.64
+++ scroll.c 14 Mar 2003 23:42:34 -0000
@@ -1560,10 +1560,10 @@
if (TRACE_ON(scroll))
{
TRACE("hwnd=%p bar=%d", hwnd, nBar);
- if (info->fMask & SIF_PAGE) DPRINTF( " page=%d", info->nPage );
- if (info->fMask & SIF_POS) DPRINTF( " pos=%d", info->nPos );
- if (info->fMask & SIF_RANGE) DPRINTF( " min=%d max=%d", info->nMin, info->nMax );
- DPRINTF("\n");
+ if (info->fMask & SIF_PAGE) TRACE( " page=%d", info->nPage );
+ if (info->fMask & SIF_POS) TRACE( " pos=%d", info->nPos );
+ if (info->fMask & SIF_RANGE) TRACE( " min=%d max=%d", info->nMin, info->nMax );
+ TRACE("\n");
}
/* Set the page size */
More information about the wine-patches
mailing list