Skip to content

Commit

Permalink
Merge pull request #2536 from spnethw/allow_double_quotes_in_filenames
Browse files Browse the repository at this point in the history
Allow creation and saving-as filenames containing double quotes
  • Loading branch information
elfmz authored Dec 1, 2024
2 parents 4f044a5 + 981b9a0 commit 4636286
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion far2l/src/fileedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
1 change: 0 additions & 1 deletion far2l/src/panels/filelist.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,6 @@ int FileList::ProcessKey(FarKey Key)

if (!strLastFileName.IsEmpty()) {
strFileName = strLastFileName;
Unquote(strFileName);

if (IsAbsolutePath(strFileName)) {
PluginMode = FALSE;
Expand Down

0 comments on commit 4636286

Please sign in to comment.