Skip to content

Commit

Permalink
Fix PAL_wprintf for wide characters
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Jan 25, 2022
1 parent 74d8d0d commit 91cf288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/pal/src/cruntime/printfcpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ static int Internal_Convertfwrite(CPalThread *pthrCurrent, const void *buffer, s
free(newBuff);
return -1;
}
ret = InternalFwrite(newBuff, 1, count, stream, &iError);
ret = InternalFwrite(newBuff, 1, nsize, stream, &iError);
if (iError != 0)
{
ERROR("InternalFwrite did not write the whole buffer. Error is %d\n", iError);
Expand Down

0 comments on commit 91cf288

Please sign in to comment.