From 981b9a06c6ff17037506b03d6ef86f7b3b0c6093 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sat, 30 Nov 2024 18:29:37 +0400 Subject: [PATCH] Allow creation and saving-as filenames containing double quotes (from far2m/54b65bc) --- far2l/src/fileedit.cpp | 1 - far2l/src/panels/filelist.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/far2l/src/fileedit.cpp b/far2l/src/fileedit.cpp index 9bccd7363..d22cfb76e 100644 --- a/far2l/src/fileedit.cpp +++ b/far2l/src/fileedit.cpp @@ -959,7 +959,6 @@ int FileEditor::ReProcessKey(FarKey Key, int CalledFromControl) m_AddSignature = AddSignature ? FB_YES : FB_NO; apiExpandEnvironmentStrings(strSaveAsName, strSaveAsName); - Unquote(strSaveAsName); NameChanged = StrCmpI(strSaveAsName, (Flags.Check(FFILEEDIT_SAVETOSAVEAS) ? strFullFileName : strFileName)); diff --git a/far2l/src/panels/filelist.cpp b/far2l/src/panels/filelist.cpp index 8061a475b..ea3d98dfa 100644 --- a/far2l/src/panels/filelist.cpp +++ b/far2l/src/panels/filelist.cpp @@ -1471,7 +1471,6 @@ int FileList::ProcessKey(FarKey Key) if (!strLastFileName.IsEmpty()) { strFileName = strLastFileName; - Unquote(strFileName); if (IsAbsolutePath(strFileName)) { PluginMode = FALSE;