mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[SHELL32] Fix 'Paste' command in context menu not working
Bug found by Rosen Iliev
This commit is contained in:
parent
5bd86b8487
commit
0452d3415a
1 changed files with 1 additions and 1 deletions
|
@ -1222,7 +1222,7 @@ CDefaultContextMenu::InvokeCommand(
|
|||
|
||||
if (LocalInvokeInfo.cbSize >= sizeof(CMINVOKECOMMANDINFOEX) && (LocalInvokeInfo.fMask & CMIC_MASK_PTINVOKE))
|
||||
{
|
||||
if (FAILED_UNEXPECTEDLY(DataObject_SetOffset(m_pDataObj, &LocalInvokeInfo.ptInvoke)))
|
||||
if (m_pDataObj && FAILED_UNEXPECTEDLY(DataObject_SetOffset(m_pDataObj, &LocalInvokeInfo.ptInvoke)))
|
||||
{
|
||||
ERR("Unable to add OFFSET to DataObject!\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue