Przeglądaj źródła

Bug fix: Browse Remote Directory command on Synchronization checklist did not locate file with spaces

(cherry picked from commit 365714cefdbfe790def05569a65e215bf1cb6706)

Source commit: a3f250338b2ad2fdd89e86d70a7905495d7ee1b1
Martin Prikryl 4 lat temu
rodzic
commit
2cdfb3c43e
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      source/forms/CustomScpExplorer.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -5887,7 +5887,7 @@ void __fastcall TCustomScpExplorerForm::DoSynchronizeBrowse(TOperationSide Side,
     }
 
     UnicodeString SessionName = SaveHiddenDuplicateSession(SessionData.get());
-    ExecuteNewInstance(SessionName, FORMAT(L"%s=%s", (TProgramParams::FormatSwitch(BROWSE_SWITCH), Item->GetFileName())));
+    ExecuteNewInstance(SessionName, FORMAT(L"%s=\"%s\"", (TProgramParams::FormatSwitch(BROWSE_SWITCH), Item->GetFileName())));
   }
 }
 //---------------------------------------------------------------------------