[REACTOS] Fix typos in comments (#5591)

Fixing typos in code comments enhances code readability and comprehension for developers and collaborators.
This commit is contained in:
Andriy Shevchenko 2023-08-22 16:20:29 +03:00 committed by GitHub
parent a2d8e464c8
commit 2ea03b5b22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 25 additions and 25 deletions

View file

@ -71,7 +71,7 @@ RtlAllocateHandle(
/* Check if we are out of free handles entries */
if (HandleTable->FreeHandles == NULL)
{
/* Check if we don't have uncomitted handle entries yet */
/* Check if we don't have uncommitted handle entries yet */
if (HandleTable->UnCommittedHandles == NULL)
{
/* Use the maximum number of handle entries */

View file

@ -781,7 +781,7 @@ ParsePEHeaders(PFILE_INFO File)
File->UsedSections = 0;
File->eh_frame.idx = -1;
/* Allocate array of chars, specifiying whether to copy the section */
/* Allocate array of chars, specifying whether to copy the section */
File->UseSection = malloc(File->AllSections);
for (i = 0; i < File->AllSections; i++)

View file

@ -180,7 +180,7 @@ public:
wchar_t ret = (wchar_t)-1;
switch (encoding)
{
case detect: // if still unknwon
case detect: // if still unknown
encoding = utf8; // assume utf8 as default
case utf8:
unsigned char c, tmp;

View file

@ -259,7 +259,7 @@ class wine_sync:
return True, warning_message
def revert_staged_patchset(self):
# revert all of this in one commmit
# revert all of this in one commit
staged_patch_dir_path = os.path.join(self.reactos_src, self.staged_patch_dir)
if not os.path.isdir(staged_patch_dir_path):
return True