mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 06:00:45 +00:00
Assorted spelling fixes.
This commit is contained in:
parent
348a3d912b
commit
5127dc9f49
@ -333,7 +333,7 @@ unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(unsigned long *pFlags, unsigned
|
||||
|
||||
size = *(ULONG *)pBuffer;
|
||||
pBuffer += sizeof(ULONG);
|
||||
/* redunancy is bad - it means you have to check consistancy like
|
||||
/* redundancy is bad - it means you have to check consistency like
|
||||
* this: */
|
||||
if (*(ULONG *)pBuffer != handle)
|
||||
{
|
||||
@ -341,7 +341,7 @@ unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(unsigned long *pFlags, unsigned
|
||||
return pBuffer;
|
||||
}
|
||||
pBuffer += sizeof(ULONG);
|
||||
/* redunancy is bad - it means you have to check consistancy like
|
||||
/* redundancy is bad - it means you have to check consistency like
|
||||
* this: */
|
||||
if (*(ULONG *)pBuffer != size)
|
||||
{
|
||||
|
@ -320,19 +320,19 @@ HRESULT WINAPI IWineD3DSurfaceImpl_LockRect(IWineD3DSurface *iface, D3DLOCKED_RE
|
||||
|
||||
if (0 == This->resource.usage || This->resource.usage & D3DUSAGE_DYNAMIC) {
|
||||
/* classic surface TODO: non 2d surfaces?
|
||||
Thease resources may be POOL_SYSTEMMEM, so they must not access the device */
|
||||
These resources may be POOL_SYSTEMMEM, so they must not access the device */
|
||||
TRACE("locking an ordinarary surface\n");
|
||||
/* Check to see if memory has already been allocated fro the sufrace*/
|
||||
/* Check to see if memory has already been allocated from the surface*/
|
||||
if (NULL == This->resource.allocatedMemory) { /* TODO: check to see if an update has been performed on the surface (an update could just clobber allocatedMemory */
|
||||
/* Non-systemmemory surfaces */
|
||||
/* Non-system memory surfaces */
|
||||
|
||||
/*Surface has no memory currently allocate to it!*/
|
||||
/*Surface has no memory currently allocated to it!*/
|
||||
TRACE("(%p) Locking rect\n" , This);
|
||||
This->resource.allocatedMemory = HeapAlloc(GetProcessHeap() ,0 , This->pow2Size);
|
||||
if (0 != This->glDescription.textureName) {
|
||||
/* Now I have to copy thing bits back */
|
||||
This->activeLock = TRUE; /* When this flag is set to true, laoding the surface again won't free THis->resource.allocatedMemory */
|
||||
/* TODO: make activeLock a bit more intelegent, maybe implement a method to purge the texture memory. */
|
||||
This->activeLock = TRUE; /* When this flag is set to true, loading the surface again won't free THis->resource.allocatedMemory */
|
||||
/* TODO: make activeLock a bit more intelligent, maybe implement a method to purge the texture memory. */
|
||||
ENTER_GL();
|
||||
|
||||
/* Make sure that the texture is loaded */
|
||||
|
@ -3243,7 +3243,7 @@ BOOL WINAPI GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment,
|
||||
* RETURNS
|
||||
* Success: TRUE and in pcbNeeded the Bytes used in pDriverDirectory
|
||||
* Failure: FALSE and in pcbNeeded the Bytes required for pDriverDirectory,
|
||||
* if cbBuf is to small
|
||||
* if cbBuf is too small
|
||||
*
|
||||
* Native Values returned in pDriverDirectory on Success:
|
||||
*| NT(Windows NT x86): "%winsysdir%\\spool\\DRIVERS\\w32x86"
|
||||
|
@ -52,7 +52,7 @@ sub read_spec_file($) {
|
||||
while($lookahead || defined($_ = <IN>)) {
|
||||
$lookahead = 0;
|
||||
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at begining and end of line
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at beginning and end of line
|
||||
s/^(.*?)\s*#.*$/$1/; # remove comments
|
||||
/^$/ && next; # skip empty lines
|
||||
|
||||
@ -137,7 +137,7 @@ MAKEFILE_IN: foreach my $makefile_in_file (@makefile_in_files) {
|
||||
$again = 0;
|
||||
}
|
||||
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at begining and end of line
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at beginning and end of line
|
||||
s/^(.*?)\s*#.*$/$1/; # remove comments
|
||||
/^$/ && next; # skip empty lines
|
||||
|
||||
|
@ -75,7 +75,7 @@ my %options_long = (
|
||||
"calling-convention-win16" => { default => 0, parent => "calling-convention", description => "calling convention checking (Win16)" },
|
||||
"calling-convention-win32" => { default => 1, parent => "calling-convention", description => "calling convention checking (Win32)" },
|
||||
"misplaced" => { default => 1, parent => "local", description => "check for misplaced functions" },
|
||||
"statements" => { default => 0, parent => "local", description => "check for statements inconsistances" },
|
||||
"statements" => { default => 0, parent => "local", description => "check for statements inconsistencies" },
|
||||
"cross-call" => { default => 0, parent => ["statements", "win16", "win32"], description => "check for cross calling functions" },
|
||||
"cross-call-win32-win16" => {
|
||||
default => 0, parent => "cross-call", description => "check for cross calls between win32 and win16"
|
||||
@ -83,7 +83,7 @@ my %options_long = (
|
||||
"cross-call-unicode-ascii" => {
|
||||
default => 0, parent => "cross-call", description => "check for cross calls between Unicode and ASCII"
|
||||
},
|
||||
"debug-messages" => { default => 0, parent => "statements", description => "check for debug messages inconsistances" },
|
||||
"debug-messages" => { default => 0, parent => "statements", description => "check for debug messages inconsistencies" },
|
||||
|
||||
"comments" => {
|
||||
default => 1,
|
||||
@ -99,36 +99,36 @@ my %options_long = (
|
||||
"documentation" => {
|
||||
default => 1,
|
||||
parent => "local",
|
||||
description => "check for documentation inconsistances"
|
||||
description => "check for documentation inconsistencies"
|
||||
},
|
||||
"documentation-pedantic" => {
|
||||
default => 0,
|
||||
parent => "documentation",
|
||||
description => "be pendantic when checking for documentation inconsistances"
|
||||
description => "be pendantic when checking for documentation inconsistencies"
|
||||
},
|
||||
|
||||
"documentation-arguments" => {
|
||||
default => 1,
|
||||
parent => "documentation",
|
||||
description => "check for arguments documentation inconsistances\n"
|
||||
description => "check for arguments documentation inconsistencies\n"
|
||||
},
|
||||
"documentation-comment-indent" => {
|
||||
default => 0,
|
||||
parent => "documentation", description => "check for documentation comment indent inconsistances"
|
||||
parent => "documentation", description => "check for documentation comment indent inconsistencies"
|
||||
},
|
||||
"documentation-comment-width" => {
|
||||
default => 0,
|
||||
parent => "documentation", description => "check for documentation comment width inconsistances"
|
||||
parent => "documentation", description => "check for documentation comment width inconsistencies"
|
||||
},
|
||||
"documentation-name" => {
|
||||
default => 1,
|
||||
parent => "documentation",
|
||||
description => "check for documentation name inconsistances\n"
|
||||
description => "check for documentation name inconsistencies\n"
|
||||
},
|
||||
"documentation-ordinal" => {
|
||||
default => 1,
|
||||
parent => "documentation",
|
||||
description => "check for documentation ordinal inconsistances\n"
|
||||
description => "check for documentation ordinal inconsistencies\n"
|
||||
},
|
||||
"documentation-wrong" => {
|
||||
default => 1,
|
||||
|
@ -70,7 +70,7 @@ if($options->spec_files || $options->winetest) {
|
||||
while($lookahead || defined($_ = <IN>)) {
|
||||
$lookahead = 0;
|
||||
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at begining and end of line
|
||||
s/^\s*?(.*?)\s*$/$1/; # remove whitespace at beginning and end of line
|
||||
s/^(.*?)\s*#.*$/$1/; # remove comments
|
||||
/^$/ && next; # skip empty lines
|
||||
|
||||
|
@ -417,7 +417,7 @@ const char *get_stub_name( const ORDDEF *odp, const DLLSPEC *spec )
|
||||
*
|
||||
* The reason gas is written this way is that it's trying to mimick
|
||||
* native assemblers for the various architectures it runs on. gas
|
||||
* provides other directives that work consistantly across
|
||||
* provides other directives that work consistently across
|
||||
* architectures, but of course we want to work on all arches with or
|
||||
* without gas. Hence this function.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user