kernel32: Spelling fixes.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2016-05-29 12:42:15 +02:00 committed by Alexandre Julliard
parent c0a9a8b410
commit 6c4484582b
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ BOOL WINAPI VirtualProtectEx( HANDLE process, LPVOID addr, SIZE_T size,
NTSTATUS status; NTSTATUS status;
DWORD prot; DWORD prot;
/* Win9x allows to pass NULL as old_prot while it fails on NT */ /* Win9x allows passing NULL as old_prot while this fails on NT */
if (!old_prot && (GetVersion() & 0x80000000)) old_prot = &prot; if (!old_prot && (GetVersion() & 0x80000000)) old_prot = &prot;
status = NtProtectVirtualMemory( process, &addr, &size, new_prot, old_prot ); status = NtProtectVirtualMemory( process, &addr, &size, new_prot, old_prot );