瀏覽代碼

Typos in comments

Source commit: 3dd17baeaeef281d779e6eb5758e126094d8d216
Martin Prikryl 6 年之前
父節點
當前提交
cc6e4fc4ed
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      source/core/Terminal.cpp

+ 2 - 2
source/core/Terminal.cpp

@@ -3158,7 +3158,7 @@ void __fastcall TTerminal::ReadCurrentDirectory()
   DebugAssert(FFileSystem);
   try
   {
-    // reset flag is case we are called externally (like from console dialog)
+    // reset flag in case we are called externally (like from console dialog)
     FReadCurrentDirectoryPending = false;
 
     LogEvent(L"Getting current directory name.");
@@ -3175,7 +3175,7 @@ void __fastcall TTerminal::ReadCurrentDirectory()
         FDirectoryChangesCache->AddDirectoryChange(OldDirectory,
           FLastDirectoryChange, CurrentDirectory);
       }
-      // not to broke the cache, if the next directory change would not
+      // not to breake the cache, if the next directory change would not
       // be initialized by ChangeDirectory(), which sets it
       // (HomeDirectory() particularly)
       FLastDirectoryChange = L"";