Commit 065b56e4 authored by Zhipeng Zhao's avatar Zhipeng Zhao Committed by Alexandre Julliard

ole32: Deal with WM_RENDERFORMAT if the clipboard is empty.

parent a18bc50f
......@@ -2066,6 +2066,8 @@ static LRESULT CALLBACK clipbrd_wndproc(HWND hwnd, UINT message, WPARAM wparam,
ole_priv_data_entry *entry;
TRACE("(): WM_RENDERFORMAT(cfFormat=%x)\n", cf);
if (!clipbrd || !clipbrd->cached_enum) break;
entry = find_format_in_list(clipbrd->cached_enum->entries, clipbrd->cached_enum->count, cf);
if(entry)
......
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