Skip to content

Commit

Permalink
Merge pull request #36 from chrisv2/patch-1
Browse files Browse the repository at this point in the history
Embedded attachment from RTF message not handled properly
  • Loading branch information
tonyfederer authored Jan 29, 2020
2 parents 513737f + 14d50a0 commit eb904ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OutlookFileDrag/DragDropHook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public static int DoDragDropHook(NativeMethods.IDataObject pDataObj, IntPtr pDro
try
{
log.Info("Drag started");
if (!DataObjectHelper.GetDataPresent(pDataObj, "FileGroupDescriptorW"))
if (!DataObjectHelper.GetDataPresent(pDataObj, "FileGroupDescriptorW") && !DataObjectHelper.GetDataPresent(pDataObj, "FileGroupDescriptor"))
{
log.Info("No virtual files found -- continuing original drag");
return NativeMethods.DoDragDrop(pDataObj, pDropSource, dwOKEffects, out pdwEffect);
Expand Down

0 comments on commit eb904ae

Please sign in to comment.