filebrowser/src/FBFileOps.cpp
branchRCL_3
changeset 13 822c625f7adc
parent 0 d6fe6244b863
equal deleted inserted replaced
11:454d022d514b 13:822c625f7adc
   330                 
   330                 
   331                 if (path.Length())
   331                 if (path.Length())
   332                     {
   332                     {
   333                     path.Append(entry.iName);
   333                     path.Append(entry.iName);
   334                     path.Append(_L("\\"));
   334                     path.Append(_L("\\"));
   335                     DoFindEntries(aFileName, path);
   335                     // test path.Left(iBuf2.Length()).Compare(iBuf2) - to prevent never ending recursive copy (in case of copy folder under itself)
       
   336                     if( iRecursiveState == EFileOpCopy && path.Left(iBuf2.Length()).Compare(iBuf2) )
       
   337                         {
       
   338                         DoFindEntries(aFileName, path);
       
   339                         }
   336                     }
   340                     }
   337                 }
   341                 }
   338             if ( iFileManObserverResult == MFileManObserver::ECancel )
   342             if ( iFileManObserverResult == MFileManObserver::ECancel )
   339                 {
   343                 {
   340                 break;
   344                 break;