Index: reactos/boot/freeldr/freeldr/include/fs/ext2.h =================================================================== --- reactos/boot/freeldr/freeldr/include/fs/ext2.h (revision 58644) +++ reactos/boot/freeldr/freeldr/include/fs/ext2.h (working copy) @@ -43,7 +43,7 @@ #define EXT2_MAGIC 0xEF53 /* Amount of indirect blocks in an inode. */ #define INDIRECT_BLOCKS 12 -/* Maximum lenght of a pathname. */ +/* Maximum length of a pathname. */ #define EXT2_PATH_MAX 4096 /* Maximum nesting of symlinks, used to prevent a loop. */ #define EXT2_MAX_SYMLINKCNT 8 Index: reactos/include/ndk/iofuncs.h =================================================================== --- reactos/include/ndk/iofuncs.h (revision 58644) +++ reactos/include/ndk/iofuncs.h (working copy) @@ -1029,7 +1029,7 @@ _In_ HANDLE FileHandle, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_ PLARGE_INTEGER ByteOffset, - _In_ PLARGE_INTEGER Lenght, + _In_ PLARGE_INTEGER Length, _In_opt_ ULONG Key ); Index: reactos/dll/win32/kernel32/client/path.c =================================================================== --- reactos/dll/win32/kernel32/client/path.c (revision 58644) +++ reactos/dll/win32/kernel32/client/path.c (working copy) @@ -1437,7 +1437,7 @@ RtlFreeHeap(RtlGetProcessHeap(), 0, PathString.Buffer); } - /* Return the final result lenght */ + /* Return the final result length */ return Result; } Index: reactos/lib/drivers/lwip/src/core/tcp_in.c =================================================================== --- reactos/lib/drivers/lwip/src/core/tcp_in.c (revision 58644) +++ reactos/lib/drivers/lwip/src/core/tcp_in.c (working copy) @@ -1382,7 +1382,7 @@ } break; } else { - /* Either the lenghts are the same or the incoming + /* Either the lengths are the same or the incoming segment was smaller than the old one; in either case, we ditch the incoming segment. */ break; Index: reactos/lib/drivers/lwip/src/core/snmp/msg_out.c =================================================================== --- reactos/lib/drivers/lwip/src/core/snmp/msg_out.c (revision 58644) +++ reactos/lib/drivers/lwip/src/core/snmp/msg_out.c (working copy) @@ -313,7 +313,7 @@ * * @param vb_len varbind-list length * @param rhl points to returned header lengths - * @return the required lenght for encoding the response header + * @return the required length for encoding the response header */ static u16_t snmp_resp_header_sum(struct snmp_msg_pstat *m_stat, u16_t vb_len) @@ -360,7 +360,7 @@ * * @param vb_len varbind-list length * @param thl points to returned header lengths - * @return the required lenght for encoding the trap header + * @return the required length for encoding the trap header */ static u16_t snmp_trap_header_sum(struct snmp_msg_trap *m_trap, u16_t vb_len) @@ -415,7 +415,7 @@ * annotates lengths in varbind for second encoding pass. * * @param root points to the root of the variable binding list - * @return the required lenght for encoding the variable bindings + * @return the required length for encoding the variable bindings */ static u16_t snmp_varbind_list_sum(struct snmp_varbind_root *root) @@ -429,7 +429,7 @@ vb = root->tail; while ( vb != NULL ) { - /* encoded value lenght depends on type */ + /* encoded value length depends on type */ switch (vb->value_type) { case (SNMP_ASN1_UNIV | SNMP_ASN1_PRIMIT | SNMP_ASN1_INTEG): Index: reactos/base/services/eventlog/file.c =================================================================== --- reactos/base/services/eventlog/file.c (revision 58644) +++ reactos/base/services/eventlog/file.c (working copy) @@ -983,7 +983,7 @@ /* Check the size of the record as the record adding may be larger */ if (OverWriteLength >= BufSize) { - DPRINT("Record will fit. Lenght %d, BufSize %d\n", OverWriteLength, BufSize); + DPRINT("Record will fit. Length %d, BufSize %d\n", OverWriteLength, BufSize); LogFile->Header.StartOffset = LogfOffsetByNumber(LogFile, LogFile->Header.OldestRecordNumber); break; } Index: reactos/base/applications/sndrec32/lang/es-ES.rc =================================================================== --- reactos/base/applications/sndrec32/lang/es-ES.rc (revision 58644) +++ reactos/base/applications/sndrec32/lang/es-ES.rc (working copy) @@ -45,7 +45,7 @@ STRINGTABLE BEGIN IDS_STRPOS "Position: %.2f s"//FIXME - IDS_STRDUR "Lenght: %.2f s" + IDS_STRDUR "Length: %.2f s" IDS_STRBUF "Buffer: %.2f kb" IDS_STRFMT "%.1f kHz %u bits" IDS_STRMONO "mono" Index: reactos/base/applications/sndrec32/lang/de-DE.rc =================================================================== --- reactos/base/applications/sndrec32/lang/de-DE.rc (revision 58644) +++ reactos/base/applications/sndrec32/lang/de-DE.rc (working copy) @@ -45,7 +45,7 @@ STRINGTABLE BEGIN IDS_STRPOS "Position: %.2f s"//FIXME - IDS_STRDUR "Lenght: %.2f s" + IDS_STRDUR "Length: %.2f s" IDS_STRBUF "Buffer: %.2f kb" IDS_STRFMT "%.1f kHz %u bits" IDS_STRMONO "mono" Index: reactos/base/applications/sndrec32/lang/en-US.rc =================================================================== --- reactos/base/applications/sndrec32/lang/en-US.rc (revision 58644) +++ reactos/base/applications/sndrec32/lang/en-US.rc (working copy) @@ -45,7 +45,7 @@ STRINGTABLE BEGIN IDS_STRPOS "Position: %.2f s" - IDS_STRDUR "Lenght: %.2f s" + IDS_STRDUR "Length: %.2f s" IDS_STRBUF "Buffer: %.2f kb" IDS_STRFMT "%.1f kHz %u bits" IDS_STRMONO "mono" Index: reactos/base/applications/sndrec32/audio_wavein.hpp =================================================================== --- reactos/base/applications/sndrec32/audio_wavein.hpp (revision 58644) +++ reactos/base/applications/sndrec32/audio_wavein.hpp (working copy) @@ -229,7 +229,7 @@ // - // Set seconds lenght for each + // Set seconds length for each // buffer. // Index: reactos/base/applications/sndrec32/audio_resampler_acm.cpp =================================================================== --- reactos/base/applications/sndrec32/audio_resampler_acm.cpp (revision 58644) +++ reactos/base/applications/sndrec32/audio_resampler_acm.cpp (working copy) @@ -118,7 +118,7 @@ // - // Calcs source buffer lenght + // Calcs source buffer length // src_buflen = ( unsigned int ) @@ -130,7 +130,7 @@ // - // Calcs destination source buffer lenght + // Calcs destination source buffer length // with help of ACM apis // Index: reactos/base/applications/calc/lang/th-TH.rc =================================================================== --- reactos/base/applications/calc/lang/th-TH.rc (revision 58644) +++ reactos/base/applications/calc/lang/th-TH.rc (working copy) @@ -449,7 +449,7 @@ IDS_CONV_CONSUMPTION "Consumption (engines)" IDS_CONV_CURRENCY "Currencies" IDS_CONV_ENERGY "Energy" - IDS_CONV_LENGTH "Lenghts" + IDS_CONV_LENGTH "Lengths" IDS_CONV_POWER "Power" IDS_CONV_PRESSURE "Pressure" IDS_CONV_TEMPERATURE "Temperature" Index: reactos/base/applications/calc/lang/el-GR.rc =================================================================== --- reactos/base/applications/calc/lang/el-GR.rc (revision 58644) +++ reactos/base/applications/calc/lang/el-GR.rc (working copy) @@ -444,7 +444,7 @@ IDS_CONV_CONSUMPTION "Consumption (engines)" IDS_CONV_CURRENCY "Συνάλλαγμα" IDS_CONV_ENERGY "Ενέργεια" - IDS_CONV_LENGTH "Lenghts" + IDS_CONV_LENGTH "Lengths" IDS_CONV_POWER "Δύναμη" IDS_CONV_PRESSURE "Πίεση" IDS_CONV_TEMPERATURE "Θερμοκρασία" Index: reactos/base/applications/calc/lang/ko-KR.rc =================================================================== --- reactos/base/applications/calc/lang/ko-KR.rc (revision 58644) +++ reactos/base/applications/calc/lang/ko-KR.rc (working copy) @@ -448,7 +448,7 @@ IDS_CONV_CONSUMPTION "Consumption (engines)" IDS_CONV_CURRENCY "Currencies" IDS_CONV_ENERGY "Energy" - IDS_CONV_LENGTH "Lenghts" + IDS_CONV_LENGTH "Lengths" IDS_CONV_POWER "Power" IDS_CONV_PRESSURE "Pressure" IDS_CONV_TEMPERATURE "Temperature" Index: reactos/ntoskrnl/kd/kdio.c =================================================================== --- reactos/ntoskrnl/kd/kdio.c (revision 58644) +++ reactos/ntoskrnl/kd/kdio.c (working copy) @@ -31,8 +31,8 @@ /* Current Port in use. FIXME: Do we support more then one? */ ULONG KdpPort; -#define KdpScreenLineLenght 80 -CHAR KdpScreenLineBuffer[KdpScreenLineLenght + 1] = ""; +#define KdpScreenLineLengthDefault 80 +CHAR KdpScreenLineBuffer[KdpScreenLineLengthDefault + 1] = ""; ULONG KdpScreenLineBufferPos = 0, KdpScreenLineLength = 0; const ULONG KdpDmesgBufferSize = 128 * 1024; // 512*1024; // 5*1024*1024; @@ -427,7 +427,7 @@ KdpScreenLineBuffer[KdpScreenLineLength] = '\0'; } - if(*pch == '\n' || KdpScreenLineLength == KdpScreenLineLenght) + if(*pch == '\n' || KdpScreenLineLength == KdpScreenLineLengthDefault) { /* Print buffered characters */ if(KdpScreenLineBufferPos != KdpScreenLineLength) Index: reactos/ntoskrnl/io/pnpmgr/pnputil.c =================================================================== --- reactos/ntoskrnl/io/pnpmgr/pnputil.c (revision 58644) +++ reactos/ntoskrnl/io/pnpmgr/pnputil.c (working copy) @@ -156,7 +156,7 @@ /* Null-terminate the string ourselves */ (*UnicodeStringList)[i].Buffer[n / sizeof(WCHAR)] = UNICODE_NULL; - /* Set the lenghts */ + /* Set the lengths */ (*UnicodeStringList)[i].Length = (USHORT)n; (*UnicodeStringList)[i].MaximumLength = (USHORT)(n + sizeof(UNICODE_NULL)); } Index: reactos/ntoskrnl/io/iomgr/util.c =================================================================== --- reactos/ntoskrnl/io/iomgr/util.c (revision 58644) +++ reactos/ntoskrnl/io/iomgr/util.c (working copy) @@ -171,7 +171,7 @@ PAGED_CODE(); - /* Lenght of the rest. Inital equal to EaLength */ + /* Length of the rest. Inital equal to EaLength */ IntEaLength = EaLength; /* Inital EaBuffer equal to EaBuffer */ Index: reactos/drivers/filesystems/fastfat/fastio.c =================================================================== --- reactos/drivers/filesystems/fastfat/fastio.c (revision 58644) +++ reactos/drivers/filesystems/fastfat/fastio.c (working copy) @@ -12,7 +12,7 @@ static BOOLEAN NTAPI VfatFastIoCheckIfPossible(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, - IN ULONG Lenght, + IN ULONG Length, IN BOOLEAN Wait, IN ULONG LockKey, IN BOOLEAN CheckForReadOperation, Index: reactos/drivers/filesystems/fastfat_new/fastio.c =================================================================== --- reactos/drivers/filesystems/fastfat_new/fastio.c (revision 58644) +++ reactos/drivers/filesystems/fastfat_new/fastio.c (working copy) @@ -17,7 +17,7 @@ NTAPI FatFastIoCheckIfPossible(IN PFILE_OBJECT FileObject, IN PLARGE_INTEGER FileOffset, - IN ULONG Lenght, + IN ULONG Length, IN BOOLEAN Wait, IN ULONG LockKey, IN BOOLEAN CheckForReadOperation, Index: rostests/drivers/ntoskrnl/IoEaTest.cpp =================================================================== --- rostests/drivers/ntoskrnl/IoEaTest.cpp (revision 58644) +++ rostests/drivers/ntoskrnl/IoEaTest.cpp (working copy) @@ -34,7 +34,7 @@ ULONG NextEaBufferOffset; UINT IntEaLength; - /* Lenght of the rest. Inital equal to EaLength */ + /* Length of the rest. Inital equal to EaLength */ IntEaLength = EaLength; /* Inital EaBuffer equal to EaBuffer */ EaBufferEnd = EaBuffer; Index: rosapps/applications/sysutils/utils/pice/module/disassembler.c =================================================================== --- rosapps/applications/sysutils/utils/pice/module/disassembler.c (revision 58644) +++ rosapps/applications/sysutils/utils/pice/module/disassembler.c (working copy) @@ -57,7 +57,7 @@ UCHAR Codes[20]; // Buffer where to store code UCHARs UCHAR bAsciiLen; // Length of the ascii result - UCHAR bInstrLen; // Instruction lenght in UCHARs + UCHAR bInstrLen; // Instruction length in UCHARs int nDisplacement; // Scanner: possible constant displacement int nScanEnum; // Scanner: specific flags SCAN_*