Jelajahi Sumber

Comment corrections

Source commit: bdb9ba57e0b20386696b0161ed72a8d17f0a8df1
Martin Prikryl 5 tahun lalu
induk
melakukan
4c5a02a47d
2 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 1 1
      source/forms/CustomScpExplorer.cpp
  2. 2 2
      source/forms/ScpCommander.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -1603,7 +1603,7 @@ void __fastcall TCustomScpExplorerForm::DoOperationFinished(
 {
   if (!FAutoOperation)
   {
-    // no selection on "/upload", form servers only as event handler
+    // no selection on "/upload", form serves only as event handler
     // (it is not displayed)
     if (PanelOperation(Side, FDragDropOperation) &&
         Visible && (Operation != foCalculateSize) &&

+ 2 - 2
source/forms/ScpCommander.cpp

@@ -1169,7 +1169,7 @@ void __fastcall TScpCommanderForm::LocalFileControlDDDragEnter(TObject *Sender,
 {
   // LocalDirViewDDDragEnter is duplication of
   // TCustomScpExplorerForm::DirViewDDDragEnter, but it differs in
-  // literal type of 'DataObj' parameter.Actual type is however same
+  // literal type of 'DataObj' parameter. The actual type is however the same.
   FileControlDDDragEnter(Sender, DataObj, grfKeyState, Point, dwEffect, Accept);
 }
 //---------------------------------------------------------------------------
@@ -1184,7 +1184,7 @@ bool __fastcall TScpCommanderForm::PanelOperation(TOperationSide Side,
 void __fastcall TScpCommanderForm::FileOperationProgress(
   TFileOperationProgressType & ProgressData)
 {
-  // Heuristic: When operation finishes and DD targed is local dir view,
+  // Heuristic: When operation finishes and DD target is local dir view,
   // we suppose that drag&drop download finished, so local dir view should be
   // reloaded
   // TODO