Quellcode durchsuchen

fixed message box from showing on first copy

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@113 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden vor 21 Jahren
Ursprung
Commit
1a780bd18e
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      ProcessCopy.cpp

+ 2 - 0
ProcessCopy.cpp

@@ -401,6 +401,8 @@ bool CClip::FindDuplicate( CMainTable& recset, BOOL bCheckLastOnly )
 		if( bCheckLastOnly )
 		{
 			recset.Open("SELECT * FROM Main");
+			if(recset.IsEOF())
+				return false;
 			recset.MoveFirst();
 			// if an entry exists and they are the same size and the format data matches
 			if( !recset.IsBOF() && !recset.IsEOF() &&