summaryrefslogtreecommitdiff
path: root/src/if_ole.cpp
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-06 04:24:17 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-06 04:24:17 +0200
commit84a05acc8c341c2be383198496764992ae971a46 (patch)
tree061887e2e1327a2d0c688cba306b8ec66b3f8477 /src/if_ole.cpp
parent84e0f6ca9adcbdca254060713878ebc29faaaa65 (diff)
downloadvim-git-84a05acc8c341c2be383198496764992ae971a46.tar.gz
updated for version 7.3.925v7.3.925
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r--src/if_ole.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp
index 4c01f51d8..aabf6bb84 100644
--- a/src/if_ole.cpp
+++ b/src/if_ole.cpp
@@ -645,7 +645,7 @@ static void GUIDtochar(const GUID &guid, char *GUID, int length)
CoTaskMemFree(wGUID);
}
-// Delete a key and all of its descendents
+// Delete a key and all of its descendants
static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
{
// Open the child
@@ -655,7 +655,7 @@ static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
if (result != ERROR_SUCCESS)
return;
- // Enumerate all of the decendents of this child
+ // Enumerate all of the descendants of this child
FILETIME time;
char buffer[1024];
DWORD size = 1024;
@@ -663,7 +663,7 @@ static void RecursiveDeleteKey(HKEY hKeyParent, const char *child)
while (RegEnumKeyEx(hKeyChild, 0, buffer, &size, NULL,
NULL, NULL, &time) == S_OK)
{
- // Delete the decendents of this child
+ // Delete the descendants of this child
RecursiveDeleteKey(hKeyChild, buffer);
size = 256;
}