فهرست منبع

Correcting method name

Source commit: c806e3499e4ec0e53eb0b788eba52590a27feb1c
Martin Prikryl 7 سال پیش
والد
کامیت
5871c05239
2فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 2 2
      source/forms/CustomScpExplorer.cpp
  2. 1 1
      source/forms/CustomScpExplorer.h

+ 2 - 2
source/forms/CustomScpExplorer.cpp

@@ -2137,7 +2137,7 @@ void __fastcall TCustomScpExplorerForm::LocalCustomCommandPure(
   }
 }
 //---------------------------------------------------------------------------
-void __fastcall TCustomScpExplorerForm::LocalCustomCommandWithRemoteFiles(
+void __fastcall TCustomScpExplorerForm::LocalCustomCommandWithLocalFiles(
   const TCustomCommandType & ACommand, const UnicodeString & Command, const TCustomCommandData & Data,
   bool FileListCommand, UnicodeString * POutput)
 {
@@ -2240,7 +2240,7 @@ void __fastcall TCustomScpExplorerForm::LocalCustomCommand(TStrings * FileList,
   // local files
   else
   {
-    LocalCustomCommandWithRemoteFiles(ACommand, Command, Data, FileListCommand, POutput.get());
+    LocalCustomCommandWithLocalFiles(ACommand, Command, Data, FileListCommand, POutput.get());
   }
 
   if (POutput.get() != NULL)

+ 1 - 1
source/forms/CustomScpExplorer.h

@@ -373,7 +373,7 @@ protected:
   void __fastcall LocalCustomCommandPure(
     TStrings * FileList, const TCustomCommandType & ACommand, const UnicodeString & Command, TStrings * ALocalFileList,
     const TCustomCommandData & Data, bool LocalFileCommand, bool FileListCommand, UnicodeString * POutput);
-  void __fastcall LocalCustomCommandWithRemoteFiles(
+  void __fastcall LocalCustomCommandWithLocalFiles(
     const TCustomCommandType & ACommand, const UnicodeString & Command, const TCustomCommandData & Data,
     bool FileListCommand, UnicodeString * POutput);
   void __fastcall LocalCustomCommand(TStrings * FileList,