-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DeskTop: Fix error shown after dragging volume onto another volume
In 95e31ee a fix was made to copy a source folder's creation and modification dates to the destination using GET_FILE_INFO and SET_FILE_INFO. This logic was also triggered when copying a volume to a volume or a volume to a folder. In the latter case this was harmless but incorrect; the contents are copied not the volume itself, so the dates shouldn't be updated. In the former case it's also incorrect for the same reason, but it would trigger an alert because SET_FILE_INFO doesn't work on volumes. Fix by making the proc early exit if the source is a volume.
- Loading branch information
1 parent
63a43d5
commit c2fbb15
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters