PATCH: /dlls/ttydrv/graphics.c -- fix FIXMEs

Gerald Pfeifer gerald at pfeifer.com
Sun Nov 9 05:40:14 CST 2003


Spotted on SUSE Linux 9.0.

Gerald

ChangeLog:
Fix format specifiers for HDCs.
Index: graphics.c
===================================================================
RCS file: /home/wine/wine/dlls/ttydrv/graphics.c,v
retrieving revision 1.13
diff -u -3 -p -r1.13 graphics.c
--- graphics.c	5 Sep 2003 23:08:30 -0000	1.13
+++ graphics.c	9 Nov 2003 11:32:57 -0000
@@ -129,7 +129,7 @@ BOOL TTYDRV_DC_LineTo(TTYDRV_PDEVICE *ph

   return TRUE;
 #else /* defined(WINE_CURSES) */
-  FIXME("(%x, %d, %d): stub\n", physDev->hdc, x, y);
+  FIXME("(%p, %d, %d): stub\n", physDev->hdc, x, y);

   return TRUE;
 #endif /* defined(WINE_CURSES) */
@@ -248,7 +248,7 @@ BOOL TTYDRV_DC_Rectangle(TTYDRV_PDEVICE

   return TRUE;
 #else /* defined(WINE_CURSES) */
-  FIXME("(%x, %d, %d, %d, %d): stub\n", physDev->hdc, left, top, right, bottom);
+  FIXME("(%p, %d, %d, %d, %d): stub\n", physDev->hdc, left, top, right, bottom);

   return TRUE;
 #endif /* defined(WINE_CURSES) */
@@ -291,7 +291,7 @@ COLORREF TTYDRV_DC_SetPixel(TTYDRV_PDEVI

   return RGB(0,0,0); /* FIXME: Always returns black */
 #else /* defined(WINE_CURSES) */
-  FIXME("(%x, %d, %d, 0x%08lx): stub\n", physDev->hdc, x, y, color);
+  FIXME("(%p, %d, %d, 0x%08lx): stub\n", physDev->hdc, x, y, color);

   return RGB(0,0,0); /* FIXME: Always returns black */
 #endif /* defined(WINE_CURSES) */
@@ -379,7 +379,7 @@ BOOL TTYDRV_DC_ExtTextOut(TTYDRV_PDEVICE

   return TRUE;
 #else /* defined(WINE_CURSES) */
-  FIXME("(%x, %d, %d, 0x%08x, %p, %s, %d, %p): stub\n",
+  FIXME("(%p, %d, %d, 0x%08x, %p, %s, %d, %p): stub\n",
         physDev->hdc, x, y, flags, lpRect, debugstr_wn(str,count), count, lpDx);

   return TRUE;



More information about the wine-patches mailing list