소스 검색

Typos in comments

Source commit: 740d9dd055b223ae63fa830787d850a66c02765f
Martin Prikryl 2 년 전
부모
커밋
390246710d

+ 1 - 1
source/core/PuttyIntf.cpp

@@ -1071,7 +1071,7 @@ static void __fastcall DoNormalizeFingerprint(UnicodeString & Fingerprint, Unico
         UnicodeString Rest = Fingerprint.SubString(Name.Length() + 2, Fingerprint.Length() - Name.Length() - 1);
         int Space = Rest.Pos(L" ");
         // If not a number, it's an invalid input,
-        // either something completelly wrong, or it can be OpenSSH base64 public key,
+        // either something completely wrong, or it can be OpenSSH base64 public key,
         // that got here from TPasteKeyHandler::Paste
         if (IsNumber(Rest.SubString(1, Space - 1)))
         {

+ 2 - 2
source/core/SftpFileSystem.cpp

@@ -1616,7 +1616,7 @@ protected:
 
     if (Response->Capacity > 0)
     {
-      // particularly when uploading a file that completelly fits into send buffer
+      // particularly when uploading a file that completely fits into send buffer
       // over slow line, we may end up seemingly completing the transfer immediatelly
       // but hanging the application for a long time waiting for responses
       // (common is that the progress window would not even manage to draw itself,
@@ -2785,7 +2785,7 @@ UnicodeString __fastcall TSFTPFileSystem::RealPath(const UnicodeString & Path)
       // While we really do not care much, we anyway set the flag to ~ & 0x01 to make the request fail.
       // First for consistency.
       // Second to workaround a bug in ProFTPD/mod_sftp version 1.3.5rc1 through 1.3.5-stable
-      // that sends a completelly malformed response for non-existing paths,
+      // that sends a completely malformed response for non-existing paths,
       // when SSH_FXP_REALPATH_NO_CHECK (even implicitly) is used.
       // See http://bugs.proftpd.org/show_bug.cgi?id=4160
 

+ 1 - 1
source/core/Terminal.cpp

@@ -4427,7 +4427,7 @@ void __fastcall TTerminal::CalculateFileSize(UnicodeString FileName,
   if (!TryStartOperationWithFile(FileName, foCalculateSize))
   {
     AParams->Result = false;
-    // Combined with csIgnoreErrors, this will not abort completelly, but we get called again
+    // Combined with csIgnoreErrors, this will not abort completely, but we get called again
     // with next sibling of our parent directory (and we get again to this branch, throwing again)
     Abort();
   }

+ 2 - 2
source/forms/CustomScpExplorer.cpp

@@ -9538,7 +9538,7 @@ void __fastcall TCustomScpExplorerForm::ThemeChanged()
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::WMSettingChange(TMessage & Message)
 {
-  // Do not handle, when shutting down anyway (maybe also when not setup completelly yet?)
+  // Do not handle, when shutting down anyway (maybe also when not setup completely yet?)
   if (!FInvalid &&
       (Message.LParam != 0) &&
       (wcscmp(reinterpret_cast<LPCWCH>(Message.LParam), L"ImmersiveColorSet") == 0))
@@ -10776,7 +10776,7 @@ void __fastcall TCustomScpExplorerForm::SessionsPageControlContextPopup(TObject
         // explicit popup instead of using PopupMenu property
         // to avoid menu to popup somewhere within SessionTabSwitched above,
         // while connecting yet not-connected session and hence
-        // allowing an access to commands over not-completelly connected session
+        // allowing an access to commands over not-completely connected session
         PopupMenu = Session->LocalBrowser ? NonVisualDataModule->LocalBrowserPopup : NonVisualDataModule->SessionsPopup;
       }
     }

+ 1 - 1
source/packages/filemng/CustomDirView.pas

@@ -2568,7 +2568,7 @@ var
 begin
   // When rename is confirmed by clicking outside of the edit box, and the actual rename operation
   // displays error message or simply pumps a message queue (like during lenghty remote directory reload),
-  // drag mouse selection start. It posssibly happens only on the remote panel due to it being completelly reloaded.
+  // drag mouse selection start. It posssibly happens only on the remote panel due to it being completely reloaded.
   ReleaseCapture;
 
   if Length(HItem.pszText) = 0 then LoadEnabled := True

+ 1 - 1
source/windows/SynchronizeController.cpp

@@ -131,7 +131,7 @@ void __fastcall TSynchronizeController::SynchronizeChange(
     if (FOnSynchronize != NULL)
     {
       TSynchronizeOptions DefaultOptions; // Just as a container for the Files field
-      // this is completelly wrong as the options structure
+      // this is completely wrong as the options structure
       // can contain non-root specific options in future
       TSynchronizeOptions * Options =
         ((LocalDirectory == RootLocalDirectory) ? FOptions : &DefaultOptions);

+ 1 - 1
source/windows/VCLCommon.cpp

@@ -2773,7 +2773,7 @@ static bool __fastcall FormActivationHook(void * Data, TMessage & Message)
   // do not get activated. So we do it explicitly here.
   // We cannot do this from TApplication::OnActivate because
   // TApplication.WndProc resets focus to the last active window afterwards.
-  // So we override CM_ACTIVATE implementation here completelly.
+  // So we override CM_ACTIVATE implementation here completely.
   if (Message.Msg == CM_ACTIVATE)
   {
     TCustomForm * Form = static_cast<TCustomForm *>(Data);