Commit c85eaae4 authored by Alexandre Julliard's avatar Alexandre Julliard

ole32: Only trace a clipboard format name if it has one.

parent 77e566a3
......@@ -1198,9 +1198,11 @@ static HRESULT get_priv_data(ole_priv_data **data)
for(cf = 0; (cf = EnumClipboardFormats(cf)) != 0; count++)
{
char buf[100];
GetClipboardFormatNameA(cf, buf, sizeof(buf));
TRACE("cf %04x %s\n", cf, buf);
WCHAR buf[256];
if (GetClipboardFormatNameW(cf, buf, sizeof(buf)))
TRACE("cf %04x %s\n", cf, debugstr_w(buf));
else
TRACE("cf %04x\n", cf);
}
TRACE("count %d\n", count);
size += count * sizeof(ret->entries[0]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment