dll/winmm/playsound.c
Robert Shearman
rob at codeweavers.com
Thu Sep 8 11:28:56 CDT 2005
Ulrich Czekalla wrote:
>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
>
>
>------------------------------------------------------------------------
>
>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);
>
>
I think these formats should be %04x as fccType is 2 bytes, not 4 bytes.
--
Rob Shearman
More information about the wine-devel
mailing list