kernel32: Fix TRACE in WideCharToMultiByte to not cause exception with non-null terminated input.
This commit is contained in:
parent
8aecf251df
commit
5f18bfca68
|
@ -1662,7 +1662,8 @@ INT WINAPI WideCharToMultiByte( UINT page, DWORD flags, LPCWSTR src, INT srclen,
|
||||||
}
|
}
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
TRACE("cp %d %s -> %s\n", page, debugstr_w(src), debugstr_a(dst));
|
TRACE("cp %d %s -> %s, ret = %d\n",
|
||||||
|
page, debugstr_wn(src, srclen), debugstr_an(dst, ret), ret);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue