dll/winmm/playsound.c

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Thu Sep 8 09:45:57 CDT 2005


fccType may be NULL or contain non-printable characters. Show output as hex
instead of characters.

ChangeLog:
    Ulrich Czekalla <ulrich at codeweavers.com>
    Display fccType as hex instead of characters in trace output
-------------- next part --------------
Index: dlls/winmm/playsound.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/playsound.c,v
retrieving revision 1.17
diff -u -p -r1.17 playsound.c
--- dlls/winmm/playsound.c	13 Jul 2005 11:59:15 -0000	1.17
+++ dlls/winmm/playsound.c	8 Sep 2005 14:42:09 -0000
@@ -328,7 +328,7 @@ static DWORD WINAPI proc_PlaySound(LPVOI
     if (mmioDescend(hmmio, &mmckInfo, &ckMainRIFF, MMIO_FINDCHUNK))
 	goto errCleanUp;
 
-    TRACE("Chunk Found ckid=%.4s fccType=%.4s cksize=%08lX \n",
+    TRACE("Chunk Found ckid=%.4s fccType=%08x cksize=%08lX \n",
 	  (LPSTR)&mmckInfo.ckid, (LPSTR)&mmckInfo.fccType, mmckInfo.cksize);
 
     lpWaveFormat = HeapAlloc(GetProcessHeap(), 0, mmckInfo.cksize);
@@ -349,7 +349,7 @@ static DWORD WINAPI proc_PlaySound(LPVOI
     if (mmioDescend(hmmio, &mmckInfo, &ckMainRIFF, MMIO_FINDCHUNK))
 	goto errCleanUp;
 
-    TRACE("Chunk Found ckid=%.4s fccType=%.4s cksize=%08lX\n",
+    TRACE("Chunk Found ckid=%.4s fccType=%08x cksize=%08lX\n",
 	  (LPSTR)&mmckInfo.ckid, (LPSTR)&mmckInfo.fccType, mmckInfo.cksize);
 
     s.hEvent = CreateEventW(NULL, FALSE, FALSE, NULL);


More information about the wine-patches mailing list