OSDN Git Service

DirActions.h: Keep folder structure of copied files when selecting [Copy/Left to...
authorsdottaka@users.sourceforge.net <sdottaka@users.sourceforge.net>
Sat, 12 Dec 2015 23:32:27 +0000 (08:32 +0900)
committersdottaka@users.sourceforge.net <sdottaka@users.sourceforge.net>
Sat, 12 Dec 2015 23:32:27 +0000 (08:32 +0900)
Src/DirActions.h

index ef46b96..d4cf4df 100644 (file)
@@ -444,7 +444,7 @@ struct DirActions
                        if (paths_DoesPathExist(act.src) == DOES_NOT_EXIST)
                                throw ContentsChangedException(act.src);
 
-                       act.dest = paths_ConcatPath(pscript->m_destBase, di.diffFileInfo[index].filename);
+                       act.dest = paths_ConcatPath(pscript->m_destBase, di.diffFileInfo[index].GetFile());
                        act.dirflag = di.diffcode.isDirectory();
                        act.context = it.first;
                        act.atype = atype;