winex11.drv: Improve tracing of wintab WTInfo

James Hawkins truiken at gmail.com
Sun Oct 12 15:48:42 CDT 2008


On Sun, Oct 12, 2008 at 3:42 PM, John Klehm <xixsimplicityxix at gmail.com> wrote:
>

@@ -1079,6 +1079,7 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT nIndex,
LPVOID lpOutput)
     switch(wCategory)
     {
         case 0:
+            TRACE("category: NULL. Asking for needed buffer size");
             /* return largest necessary buffer */
             TRACE("%i cursors\n",gNumCursors);
             if (gNumCursors>0)
@@ -1088,29 +1089,35 @@ UINT X11DRV_WTInfoW(UINT wCategory, UINT
nIndex, LPVOID lpOutput)
             }
             break;
         case WTI_INTERFACE:
+            TRACE("category: WTI_INTERFACE\n");


These are extremely superfluous traces.  The value of wCategory is
traced a few lines up.  Why do you need to see anything more than
that?  Same goes for the rest of the traces you added throughout the
patch.

-- 
James Hawkins



More information about the wine-devel mailing list