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:
parent
adec9271b0
commit
8fa31bc4e5
@ -246,7 +246,7 @@ bool AudioDeviceWindowsCore::CoreAudioIsSupported()
|
|||||||
StringCchPrintf(buf, MAXERRORLENGTH, TEXT("Error details: "));
|
StringCchPrintf(buf, MAXERRORLENGTH, TEXT("Error details: "));
|
||||||
errorText = error.ErrorMessage();
|
errorText = error.ErrorMessage();
|
||||||
StringCchCat(buf, MAXERRORLENGTH, errorText);
|
StringCchCat(buf, MAXERRORLENGTH, errorText);
|
||||||
WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, -1, "%s", buf);
|
WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, -1, "%S", buf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user