Commit 7209cb89 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

dsound: Use wine_dbg_sprintf() in dumpCooperativeLevel().

parent 2665272d
......@@ -113,7 +113,6 @@ static HRESULT DirectSoundDevice_VerifyCertification(DirectSoundDevice * device,
const char * dumpCooperativeLevel(DWORD level)
{
static char unknown[32];
#define LE(x) case x: return #x
switch (level) {
LE(DSSCL_NORMAL);
......@@ -122,8 +121,7 @@ const char * dumpCooperativeLevel(DWORD level)
LE(DSSCL_WRITEPRIMARY);
}
#undef LE
sprintf(unknown, "Unknown(%08x)", level);
return unknown;
return wine_dbg_sprintf("Unknown(%08x)", level);
}
static void _dump_DSCAPS(DWORD xmask) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment