Index: src/libchengine/TTask.cpp =================================================================== diff -u -rc88853d744d42c9d0d18d14f920190d535bb714a -re45315d2ecd008df0162cba53a77dc6b8c5880d0 --- src/libchengine/TTask.cpp (.../TTask.cpp) (revision c88853d744d42c9d0d18d14f920190d535bb714a) +++ src/libchengine/TTask.cpp (.../TTask.cpp) (revision e45315d2ecd008df0162cba53a77dc6b8c5880d0) @@ -407,13 +407,27 @@ spSnapshot->SetBufferCount(GetTaskPropValue(m_tConfiguration)); TSubTaskStatsSnapshotPtr spCurrentSubTask = spSnapshot->GetSubTasksStats().GetCurrentSubTaskSnapshot(); - if(spCurrentSubTask) - spSnapshot->SetSourcePath(spCurrentSubTask->GetCurrentPath()); - else if(m_spSrcPaths->GetCount() > 0) + if(m_spSrcPaths->GetCount() > 0) { - TBasePathDataPtr spBasePath = m_spSrcPaths->GetAt(0); - if(spBasePath) - spSnapshot->SetSourcePath(spBasePath->GetSrcPath().ToString()); + std::wstring wstrPaths; + + const size_t stMaxPaths = std::min(2UL, m_spSrcPaths->GetCount()); + for(file_count_t stIndex = 0; stIndex < stMaxPaths; ++stIndex) + { + TBasePathDataPtr spBasePath = m_spSrcPaths->GetAt(stIndex); + if(spBasePath) + { + if(!wstrPaths.empty()) + wstrPaths += L"; "; + + wstrPaths += spBasePath->GetSrcPath().ToString(); + } + } + + if(stMaxPaths < m_spSrcPaths->GetCount()) + wstrPaths += L"; ..."; + + spSnapshot->SetSourcePath(wstrPaths.c_str()); } int iCurrentBufferIndex = spCurrentSubTask ? spCurrentSubTask->GetCurrentBufferIndex() : TBufferSizes::eBuffer_Default;