mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 03:08:42 +00:00
kernel32/tests: Pass correct size to MultiBytetoWideChar.
This commit is contained in:
parent
67b06ecba5
commit
395c4163b8
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static BOOL create_wide_manifest(const char *filename, const char *manifest, BOO
|
|||
BOOL ret;
|
||||
int offset = (fBOM ? 0 : 1);
|
||||
|
||||
MultiByteToWideChar(CP_ACP, 0, manifest, -1, &wmanifest[1], (strlen(manifest)+1) * sizeof(WCHAR));
|
||||
MultiByteToWideChar(CP_ACP, 0, manifest, -1, &wmanifest[1], (strlen(manifest)+1));
|
||||
wmanifest[0] = 0xfeff;
|
||||
if (fReverse)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue