Truncated messages, need a %S instead of $s for a double byte TCHAR

Review URL: http://webrtc-codereview.appspot.com/333002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1321 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
punyabrata@webrtc.org 2012-01-03 22:34:15 +00:00
parent adec9271b0
commit 8fa31bc4e5

View File

@ -246,7 +246,7 @@ bool AudioDeviceWindowsCore::CoreAudioIsSupported()
StringCchPrintf(buf, MAXERRORLENGTH, TEXT("Error details: "));
errorText = error.ErrorMessage();
StringCchCat(buf, MAXERRORLENGTH, errorText);
WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, -1, "%s", buf);
WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, -1, "%S", buf);
}
else
{