Module: wine Branch: master Commit: ff3fbfff57b308103836f9cb862736eb3be2e867 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ff3fbfff57b308103836f9cb86...
Author: Francois Gouget fgouget@free.fr Date: Mon Dec 4 19:56:31 2006 +0100
vmm.vxd: PC_WRITABLE spelling fix.
---
dlls/vmm.vxd/vmm.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/vmm.vxd/vmm.c b/dlls/vmm.vxd/vmm.c index 24de4d7..77c81b0 100644 --- a/dlls/vmm.vxd/vmm.c +++ b/dlls/vmm.vxd/vmm.c @@ -106,7 +106,7 @@ static const char * const VMM_Service_Na #define PC_FIXED 0x00000008 /* pages are permanently locked */ #define PC_LOCKED 0x00000080 /* pages are made present and locked */ #define PC_LOCKEDIFDP 0x00000100 /* pages are locked if swap via DOS */ -#define PC_WRITEABLE 0x00020000 /* make the pages writeable */ +#define PC_WRITABLE 0x00020000 /* make the pages writable */ #define PC_USER 0x00040000 /* make the pages ring 3 accessible */ #define PC_INCR 0x40000000 /* increment "pagerdata" each page */ #define PC_PRESENT 0x80000000 /* make pages initially present */ @@ -185,7 +185,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, page, npages, hpd, pagerdata, flags );
if ( flags & PC_USER ) - if ( flags & PC_WRITEABLE ) + if ( flags & PC_WRITABLE ) virt_perm = PAGE_EXECUTE_READWRITE; else virt_perm = PAGE_EXECUTE_READ; @@ -247,7 +247,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, case PAGE_WRITECOPY: case PAGE_EXECUTE_READWRITE: case PAGE_EXECUTE_WRITECOPY: - pg_old_perm = PC_USER | PC_WRITEABLE; + pg_old_perm = PC_USER | PC_WRITABLE; break; case PAGE_NOACCESS: default: @@ -261,7 +261,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, virt_new_perm = ( virt_old_perm ) & ~0xff; if ( pg_new_perm & PC_USER ) { - if ( pg_new_perm & PC_WRITEABLE ) + if ( pg_new_perm & PC_WRITABLE ) virt_new_perm |= PAGE_EXECUTE_READWRITE; else virt_new_perm |= PAGE_EXECUTE_READ;