PATCH: fix for silly 0x%p in format strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

this could be probably an easy task for Patrik's winecheck.

License: LGPL, X11
Changelog:
	Michael Stefaniuc <mstefani@redhat.com>
	- %p in format strings already adds a '0x'

bye
	michael
-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani@redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
Index: dlls/commdlg/filedlgbrowser.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/filedlgbrowser.c,v
retrieving revision 1.36
diff -u -r1.36 filedlgbrowser.c
--- dlls/commdlg/filedlgbrowser.c	16 Jul 2002 01:18:35 -0000	1.36
+++ dlls/commdlg/filedlgbrowser.c	17 Oct 2002 22:41:37 -0000
@@ -102,7 +102,7 @@
 /* copied from shell32 to avoid linking to it */
 static HRESULT COMDLG32_StrRetToStrNW (LPVOID dest, DWORD len, LPSTRRET src, LPITEMIDLIST pidl)
 {
-	TRACE("dest=0x%p len=0x%lx strret=0x%p pidl=%p stub\n",dest,len,src,pidl);
+	TRACE("dest=%p len=0x%lx strret=%p pidl=%p stub\n",dest,len,src,pidl);
 
 	switch (src->uType)
 	{
Index: dlls/shell32/shellstring.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/shellstring.c,v
retrieving revision 1.23
diff -u -r1.23 shellstring.c
--- dlls/shell32/shellstring.c	24 Jul 2002 01:56:03 -0000	1.23
+++ dlls/shell32/shellstring.c	17 Oct 2002 22:41:37 -0000
@@ -47,7 +47,7 @@
 
 HRESULT WINAPI StrRetToStrNA (LPVOID dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
 {
-	TRACE("dest=0x%p len=0x%lx strret=%p(%s) pidl=%p\n",
+	TRACE("dest=%p len=0x%lx strret=%p(%s) pidl=%p\n",
 	    dest,len,src,
 	    (src->uType == STRRET_WSTR) ? "STRRET_WSTR" :
 	    (src->uType == STRRET_CSTR) ? "STRRET_CSTR" :
@@ -82,7 +82,7 @@
 
 HRESULT WINAPI StrRetToStrNW (LPVOID dest, DWORD len, LPSTRRET src, const ITEMIDLIST *pidl)
 {
-	TRACE("dest=0x%p len=0x%lx strret=%p(%s) pidl=%p\n",
+	TRACE("dest=%p len=0x%lx strret=%p(%s) pidl=%p\n",
 	    dest,len,src,
 	    (src->uType == STRRET_WSTR) ? "STRRET_WSTR" :
 	    (src->uType == STRRET_CSTR) ? "STRRET_CSTR" :

Attachment: pgp00055.pgp
Description: PGP signature


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux