4.37 beta

This commit is contained in:
Igor Pavlov
2006-03-19 00:00:00 +00:00
committed by Kornel Lesiński
parent 8304895f29
commit cb9eea7264
44 changed files with 691 additions and 170 deletions

View File

@@ -319,7 +319,15 @@ void CPanel::OnDrag(LPNMLISTVIEW nmListView)
{
UStringVector names;
for (int i = 0; i < indices.Size(); i++)
names.Add(dirPrefix + GetItemName(indices[i]));
{
UInt32 index = indices[i];
UString s;
if (isFSFolder)
s = GetItemRelPath(index);
else
s = GetItemName(index);
names.Add(dirPrefix + s);
}
if (!CopyNamesToHGlobal(dataObjectSpec->hGlobal, names))
return;
}