kernel32: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c0a9a8b410
commit
6c4484582b
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue