diff --git a/programs/oleview/oleview.c b/programs/oleview/oleview.c index 350f6adeeb4..f1713b81b37 100644 --- a/programs/oleview/oleview.c +++ b/programs/oleview/oleview.c @@ -159,7 +159,7 @@ static void CopyClsid(HTREEITEM item) lstrcpyW(pLoc, ((ITEM_INFO *)tvi.lParam)->clsid); GlobalUnlock(hClipData); - hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); + SetClipboardData(CF_UNICODETEXT, hClipData); CloseClipboard(); } } @@ -184,7 +184,7 @@ static void CopyHTMLTag(HTREEITEM item) ((ITEM_INFO *)tvi.lParam)->clsid[clsidLen] = '}'; GlobalUnlock(hClipData); - hClipData = SetClipboardData(CF_UNICODETEXT, hClipData); + SetClipboardData(CF_UNICODETEXT, hClipData); CloseClipboard(); } }