Control_DoLaunch: memmove needs bytes as length argument.

This commit is contained in:
Uwe Bonnes 2003-10-27 22:06:56 +00:00 committed by Alexandre Julliard
parent 6b47f11db6
commit 4f20d16596
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ static void Control_DoLaunch(CPanel* panel, HWND hWnd, LPCWSTR wszCmd)
end++;
}
while ((ptr = StrChrW(buffer, '"')))
memmove(ptr, ptr+1, lstrlenW(ptr));
memmove(ptr, ptr+1, lstrlenW(ptr)*sizeof(WCHAR));
TRACE("cmd %s, extra %s, sp %d\n", debugstr_w(buffer), debugstr_w(extraPmts), sp);