comparison src/VisVim/Commands.cpp @ 16356:1759d0ec0a6f v8.1.1183

patch 8.1.1183: typos in VisVim comments commit https://github.com/vim/vim/commit/b49e3563b920ff6d96b88a1f658182a986b2b1ea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 17 18:31:18 2019 +0200 patch 8.1.1183: typos in VisVim comments Problem: Typos in VisVim comments. Solution: Correct the typos. (Christ van Willegen)
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Apr 2019 18:45:04 +0200
parents 665d10cb3e6b
children
comparison
equal deleted inserted replaced
16355:1964349f162c 16356:1759d0ec0a6f
53 } 53 }
54 54
55 void CCommands::SetApplicationObject(IApplication * pApplication) 55 void CCommands::SetApplicationObject(IApplication * pApplication)
56 { 56 {
57 // This function assumes pApplication has already been AddRef'd 57 // This function assumes pApplication has already been AddRef'd
58 // for us, which CDSAddIn did in it's QueryInterface call 58 // for us, which CDSAddIn did in its QueryInterface call
59 // just before it called us. 59 // just before it called us.
60 m_pApplication = pApplication; 60 m_pApplication = pApplication;
61 if (! m_pApplication) 61 if (! m_pApplication)
62 return; 62 return;
63 63
502 // 502 //
503 static BOOL VimOpenFile(BSTR& FileName, long LineNr) 503 static BOOL VimOpenFile(BSTR& FileName, long LineNr)
504 { 504 {
505 505
506 // OLE automation object for com. with Vim 506 // OLE automation object for com. with Vim
507 // When the object goes out of scope, it's destructor destroys the OLE 507 // When the object goes out of scope, its destructor destroys the OLE
508 // connection; 508 // connection;
509 // This is important to avoid blocking the object 509 // This is important to avoid blocking the object
510 // (in this memory corruption would be likely when terminating Vim 510 // (in this memory corruption would be likely when terminating Vim
511 // while still running DevStudio). 511 // while still running DevStudio).
512 // So keep this object local! 512 // So keep this object local!
651 } 651 }
652 else 652 else
653 VimOle.ErrDiag(); 653 VimOle.ErrDiag();
654 } 654 }
655 655
656 // Change directory to the directory the file 'FileName' is in or it's parent 656 // Change directory to the directory the file 'FileName' is in or its parent
657 // directory according to the setting of the global 'g_ChangeDir': 657 // directory according to the setting of the global 'g_ChangeDir':
658 // 'FileName' is expected to contain an absolute DOS path including the drive 658 // 'FileName' is expected to contain an absolute DOS path including the drive
659 // letter. 659 // letter.
660 // CD_NONE 660 // CD_NONE
661 // CD_SOURCE_PATH 661 // CD_SOURCE_PATH