ole32: Call GetClipboardFormatName with the correct parameters.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ea7cc6fc55
commit
182fad8b3a
|
@ -1199,7 +1199,7 @@ static HRESULT get_priv_data(ole_priv_data **data)
|
|||
for(cf = 0; (cf = EnumClipboardFormats(cf)) != 0; count++)
|
||||
{
|
||||
WCHAR buf[256];
|
||||
if (GetClipboardFormatNameW(cf, buf, sizeof(buf)))
|
||||
if (GetClipboardFormatNameW(cf, buf, sizeof(buf) / sizeof(WCHAR)))
|
||||
TRACE("cf %04x %s\n", cf, debugstr_w(buf));
|
||||
else
|
||||
TRACE("cf %04x\n", cf);
|
||||
|
|
Loading…
Reference in New Issue