1
0
forked from aniani/vim

patch 8.1.1183: typos in VisVim comments

Problem:    Typos in VisVim comments.
Solution:   Correct the typos. (Christ van Willegen)
This commit is contained in:
Bram Moolenaar
2019-04-17 18:31:18 +02:00
parent b9cdb37176
commit b49e3563b9
4 changed files with 7 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ CCommands::~CCommands()
void CCommands::SetApplicationObject(IApplication * pApplication) void CCommands::SetApplicationObject(IApplication * pApplication)
{ {
// This function assumes pApplication has already been AddRef'd // This function assumes pApplication has already been AddRef'd
// for us, which CDSAddIn did in it's QueryInterface call // for us, which CDSAddIn did in its QueryInterface call
// just before it called us. // just before it called us.
m_pApplication = pApplication; m_pApplication = pApplication;
if (! m_pApplication) if (! m_pApplication)
@@ -504,7 +504,7 @@ static BOOL VimOpenFile(BSTR& FileName, long LineNr)
{ {
// OLE automation object for com. with Vim // OLE automation object for com. with Vim
// When the object goes out of scope, it's destructor destroys the OLE // When the object goes out of scope, its destructor destroys the OLE
// connection; // connection;
// This is important to avoid blocking the object // This is important to avoid blocking the object
// (in this memory corruption would be likely when terminating Vim // (in this memory corruption would be likely when terminating Vim
@@ -653,7 +653,7 @@ static void VimErrDiag(COleAutomationControl& VimOle)
VimOle.ErrDiag(); VimOle.ErrDiag();
} }
// Change directory to the directory the file 'FileName' is in or it's parent // Change directory to the directory the file 'FileName' is in or its parent
// directory according to the setting of the global 'g_ChangeDir': // directory according to the setting of the global 'g_ChangeDir':
// 'FileName' is expected to contain an absolute DOS path including the drive // 'FileName' is expected to contain an absolute DOS path including the drive
// letter. // letter.

View File

@@ -71,7 +71,7 @@ void COleAutomationControl::DeleteObject ()
} }
// Creates an instance of the Automation object and // Creates an instance of the Automation object and
// obtains it's IDispatch interface. // obtains its IDispatch interface.
// //
// Parameters: // Parameters:
// ProgId ProgID of Automation object // ProgId ProgID of Automation object

View File

@@ -238,7 +238,7 @@ Change history
- Added an option to do a :cd before opening the file (having a file opened - Added an option to do a :cd before opening the file (having a file opened
by clicking it but finding out to be still in C:\Windows\system when trying to by clicking it but finding out to be still in C:\Windows\system when trying to
open another file by ":e" can be annoying). Change directory can be open another file by ":e" can be annoying). Change directory can be
done to the source file's directory or it's parent directory. done to the source file's directory or its parent directory.
- Added some explanations to the error message for the CO_E_CLASSSTRING error - Added some explanations to the error message for the CO_E_CLASSSTRING error
("Use OLE Vim and make sure to register..."). ("Use OLE Vim and make sure to register...").

View File

@@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1183,
/**/ /**/
1182, 1182,
/**/ /**/