Browse Source

Fixed issue with requesting remote files

ScottBrogden 8 years ago
parent
commit
8f1aebc5ff
1 changed files with 6 additions and 6 deletions
  1. 6 6
      OleClipSource.cpp

+ 6 - 6
OleClipSource.cpp

@@ -775,14 +775,14 @@ void COleClipSource::SaveDittoFileDataToFile(CClip &clip)
 			hDropIndex = i;
 		}
 	}
-
-	if (hDropIndex >= 0)
-	{
-		clip.m_Formats.RemoveAt(hDropIndex);
-	}
-
+	
 	if (savedFile)
 	{
+		if (hDropIndex >= 0)
+		{
+			clip.m_Formats.RemoveAt(hDropIndex);
+		}
+
 		CClipFormat cf(CF_HDROP, hDrpData.CreateCF_HDROPBuffer());
 		clip.m_Formats.Add(cf);