mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[REACTOS] Fix 'writting' typos (#7484)
3rd-party files are not modified.
This commit is contained in:
parent
898cc5663d
commit
9f784c65a2
5 changed files with 6 additions and 6 deletions
|
@ -3906,7 +3906,7 @@ GetSeparateDebugHeader (
|
|||
// I tried to immitate the output of w32dasm disassembler.
|
||||
// which is a pretty good program.
|
||||
// but I am disappointed with this program and I myself
|
||||
// am writting a disassembler.
|
||||
// am writing a disassembler.
|
||||
// This PEdump program is a byproduct of that project.
|
||||
// so enjoy this program and I hope we will have a little more
|
||||
// knowledge on windows programming world.
|
||||
|
|
|
@ -390,7 +390,7 @@ CheckValueArgument:
|
|||
DWORD dwBytesWritten;
|
||||
if (!WriteFile(hFile,pDataBuffer,dwValueSize,&dwBytesWritten,NULL))
|
||||
{
|
||||
rConsole.Write(_T("Error writting file.\n"));
|
||||
rConsole.Write(_T("Error writing file.\n"));
|
||||
VERIFY(CloseHandle(hFile));
|
||||
goto SkipValueCommand;
|
||||
}
|
||||
|
|
|
@ -97,7 +97,7 @@ int main(int argc, char *argv[])
|
|||
rxBuffer[i] = 0xFF;
|
||||
}
|
||||
printf("\n");
|
||||
printf("Writting transmit buffer to the serial port\n");
|
||||
printf("Writing transmit buffer to the serial port\n");
|
||||
bResult = WriteFile(hPort, txBuffer, BUFSIZE, &dwNumWritten, NULL);
|
||||
if (!bResult) {
|
||||
printf("ERROR: failed to write to the serial port: %lx\n", (DWORD)bResult);
|
||||
|
|
|
@ -330,7 +330,7 @@ FsRtlCopyWrite2(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* And that we're not writting beyond allocation size */
|
||||
/* And that we're not writing beyond allocation size */
|
||||
if (Fcb->AllocationSize.QuadPart < LastOffset.QuadPart)
|
||||
{
|
||||
ExReleaseResourceLite(Fcb->Resource);
|
||||
|
@ -561,7 +561,7 @@ FsRtlCopyWrite2(
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* And that we're not writting beyond allocation size
|
||||
/* And that we're not writing beyond allocation size
|
||||
* and that we're not going above 4GB
|
||||
*/
|
||||
if ((Fcb->AllocationSize.LowPart < LastOffset.LowPart) ||
|
||||
|
|
|
@ -4047,7 +4047,7 @@ RxCommonWrite(
|
|||
return STATUS_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
/* Are we writting to EOF? */
|
||||
/* Are we writing to EOF? */
|
||||
WriteToEof = ((ByteOffset.LowPart == FILE_WRITE_TO_END_OF_FILE) && (ByteOffset.HighPart == -1));
|
||||
/* FIXME: validate length/offset */
|
||||
|
||||
|
|
Loading…
Reference in a new issue