fix cross-device cut+paste

ticket #1638


SVN revision: 78154
This commit is contained in:
Mike Blumenkrantz 2012-10-18 07:55:34 +00:00
parent bc52fd4269
commit 57d8dd8f9b
1 changed files with 2 additions and 2 deletions

View File

@ -286,7 +286,7 @@ main(int argc, char **argv)
{ {
/* if it's another device */ /* if it's another device */
if (errno == EXDEV) if (errno == EXDEV)
type = E_FM_OP_COPY; type = E_FM_OP_MOVE;
else else
{ {
_E_FM_OP_ERROR_SEND_SCAN(0, E_FM_OP_ERROR, _E_FM_OP_ERROR_SEND_SCAN(0, E_FM_OP_ERROR,
@ -315,7 +315,7 @@ main(int argc, char **argv)
if (st1.st_dev == st2.st_dev) if (st1.st_dev == st2.st_dev)
type = E_FM_OP_RENAME; type = E_FM_OP_RENAME;
else else
type = E_FM_OP_COPY; type = E_FM_OP_MOVE;
} }
} }
} }