Pārlūkot izejas kodu

Comment corrections

(cherry picked from commit 4c5a02a47d9c03477d85f88ca75e89990d725a38)

Source commit: ab040d76b2bad1242c5c34d04c108972c8882c11
Martin Prikryl 5 gadi atpakaļ
vecāks
revīzija
f0e64ee04b
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 1 1
      source/forms/CustomScpExplorer.cpp
  2. 2 2
      source/forms/ScpCommander.cpp

+ 1 - 1
source/forms/CustomScpExplorer.cpp

@@ -1598,7 +1598,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

@@ -1064,7 +1064,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);
 }
 //---------------------------------------------------------------------------
@@ -1079,7 +1079,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