Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix F8 delete on subst drive, issue fixed #88 #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion far/delete.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,8 @@ static void break_links_for_old_os(string_view const Name)
bool ShellDelete::RemoveToRecycleBin(string_view const Name, bool dir, bool& RetryRecycleAsRemove, bool& Skip)
{
RetryRecycleAsRemove = false;
const auto strFullName = ConvertNameToFull(Name);
const auto strFullName = ConvertNameToReal(Name); // Real: Subst-диск заменен на оригинальный
// ConvertNameToFull(Name) оставляет subst (если был) и удаление будет безвозвратным

break_links_for_old_os(strFullName);

Expand Down