Просмотр исходного кода

Comments fixes

Source commit: 876c5c661a622913c9b6e2e803a90ddcdfd0f01f
Martin Prikryl 4 лет назад
Родитель
Сommit
434fde16de
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      source/forms/CustomScpExplorer.cpp

+ 1 - 2
source/forms/CustomScpExplorer.cpp

@@ -10945,7 +10945,6 @@ void __fastcall TCustomScpExplorerForm::ClipboardStop()
   RemoveDir(ApiPath(FClipboardFakeDirectory));
   FClipboardFakeDirectory = UnicodeString();
   FClipboardTerminal = NULL;
-  // Also called in Idle()
   FClipboardFakeMonitors.reset(NULL);
 }
 //---------------------------------------------------------------------------
@@ -10970,7 +10969,7 @@ void __fastcall TCustomScpExplorerForm::ClipboardDownload(const UnicodeString &
 //---------------------------------------------------------------------------
 void __fastcall TCustomScpExplorerForm::ClipboardFakeCreated(TObject * /*Sender*/, const UnicodeString FileName)
 {
-  // It can actually rarelly happen that some random file is created, while we are shuttting down the monitor
+  // It can actually rarelly happen that some random file is created, while we are shutting down the monitor
   // (as it pumps a Windows message queue while being shutted down)
   if (DebugAlwaysTrue(!FClipboardFakeDirectory.IsEmpty()) &&
       SameText(ExtractFileName(FileName), ExtractFileName(FClipboardFakeDirectory)))