mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 13:27:35 +00:00
kernel32: Fix TRACE in WideCharToMultiByte to not cause exception with non-null terminated input.
This commit is contained in:
parent
8aecf251df
commit
5f18bfca68
1 changed files with 2 additions and 1 deletions
|
@ -1662,7 +1662,8 @@ INT WINAPI WideCharToMultiByte( UINT page, DWORD flags, LPCWSTR src, INT srclen,
|
|||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue