--- mstools/samples/playsnd/debug.c 2018/08/09 18:21:49 1.1 +++ mstools/samples/playsnd/debug.c 2018/08/09 18:23:56 1.1.1.2 @@ -33,7 +33,7 @@ void dDbgSetDebugMenuLevel(int i) CheckMenuItem(hMenu, (i + IDM_DEBUG0), MF_CHECKED); __iDebugLevel = i; - dprintf3("Debug level set to %d", i); + dprintf3(("Debug level set to %d", i)); // // set the winmm dll debug level to be the same @@ -165,9 +165,9 @@ void dDbgAssert(LPSTR exp, LPSTR file, i switch (iResponse) { case 0: - dprintf1("Assert message box failed"); - dprintf2(" Expression: %s", exp); - dprintf2(" File: %s, Line: %d", file, line); + dprintf1(("Assert message box failed")); + dprintf2((" Expression: %s", exp)); + dprintf2((" File: %s, Line: %d", file, line)); break; case IDCANCEL: ExitProcess(1); @@ -175,9 +175,9 @@ void dDbgAssert(LPSTR exp, LPSTR file, i case IDOK: break; default: - dprintf1("Assert message box failed"); - dprintf2(" Expression: %s", exp); - dprintf2(" File: %s, Line: %d", file, line); + dprintf1(("Assert message box failed")); + dprintf2((" Expression: %s", exp)); + dprintf2((" File: %s, Line: %d", file, line)); break; } }