Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2005-01-26 21:09:04 +00:00 committed by Alexandre Julliard
parent 3018974ce3
commit da8b3dd7f2
15 changed files with 68 additions and 68 deletions

View File

@ -4143,7 +4143,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr)
for (i = infoPtr->nItemCount - 1; i >= 0; i--)
{
/* send LVN_DELETEITEM notification, if not supressed */
/* send LVN_DELETEITEM notification, if not suppressed */
if (!bSuppress) notify_deleteitem(infoPtr, i);
if (!(infoPtr->dwStyle & LVS_OWNERDATA))
{

View File

@ -64,7 +64,7 @@
* enablebtn.exe, getbmp.exe, getbtn.exe, getflags.exe, hidebtn.exe,
* indetbtn.exe, insbtn.exe, pressbtn.exe, setbtnsz.exe, setcmdid.exe,
* setparnt.exe, setrows.exe, toolwnd.exe.
* - Microsofts controlspy examples.
* - Microsoft's controlspy examples.
* - Charles Petzold's 'Programming Windows': gadgets.exe
*/

View File

@ -1207,8 +1207,8 @@ BOOL DPLAYX_SetLobbyMsgThreadId( DWORD dwAppId, DWORD dwThreadId )
/* NOTE: This is potentially not thread safe. You are not guaranteed to end up
with the correct string printed in the case where the HRESULT is not
known. You'll just get the last hr passed in printed. This can change
over time if this method is used alot :) */
known. You will just get the last hr passed in. This can change
over time if this method is used a lot :) */
LPCSTR DPLAYX_HresultToString(HRESULT hr)
{
static char szTempStr[12];

View File

@ -70,9 +70,9 @@ BOOL DPL_CreateAndSetLobbyHandles( DWORD dwDestProcessId, HANDLE hDestProcess,
/*****************************************************************************
* IDirectPlayLobby {1,2,3} implementation structure
*
* The philosophy behind this extra pointer derefernce is that I wanted to
* The philosophy behind this extra pointer dereference is that I wanted to
* have the same structure for all types of objects without having to do
* alot of casting. I also only wanted to implement an interface in the
* a lot of casting. I also only wanted to implement an interface in the
* object it was "released" with IUnknown interface being implemented in the 1 version.
* Of course, with these new interfaces comes the data required to keep the state required
* by these interfaces. So, basically, the pointers contain the data associated with

View File

@ -1028,9 +1028,9 @@ end:
*******************************************************/
/*
* Alot of actions are really important even if they don't do anything
* explicit.. Lots of properties are set at the beginning of the installation
* CostFinalize does a bunch of work to translated the directories and such
* A lot of actions are really important even if they don't do anything
* explicit... Lots of properties are set at the beginning of the installation
* CostFinalize does a bunch of work to translate the directories and such
*
* But until I get write access to the database that is hard, so I am going to
* hack it to see if I can get something to run.
@ -1430,13 +1430,13 @@ static void load_feature(MSIPACKAGE* package, MSIRECORD * row)
* I am not doing any of the costing functionality yet.
* Mostly looking at doing the Component and Feature loading
*
* The native MSI does ALOT of modification to tables here. Mostly adding alot
* of temporary columns to the Feature and Component tables.
* The native MSI does A LOT of modification to tables here. Mostly adding
* a lot of temporary columns to the Feature and Component tables.
*
* note: native msi also tracks the short filename. but I am only going to
* note: Native msi also tracks the short filename. But I am only going to
* track the long ones. Also looking at this directory table
* it appears that the directory table does not get the parents
* resolved base on property only based on their entrys in the
* resolved base on property only based on their entries in the
* directory table.
*/
static UINT ACTION_CostInitialize(MSIPACKAGE *package)
@ -1949,7 +1949,7 @@ static UINT SetFeatureStates(MSIPACKAGE *package)
}
/*
* Alot is done in this function aside from just the costing.
* A lot is done in this function aside from just the costing.
* The costing needs to be implemented at some point but for now I am going
* to focus on the directory building
*
@ -2817,7 +2817,7 @@ static UINT ACTION_DuplicateFiles(MSIPACKAGE *package)
}
/* OK this value is "interpretted" and then formatted based on the
/* OK this value is "interpreted" and then formatted based on the
first few characters */
static LPSTR parse_value(MSIPACKAGE *package, WCHAR *value, DWORD *type,
DWORD *size)
@ -4270,7 +4270,7 @@ static UINT ACTION_PublishProduct(MSIPACKAGE *package)
msiobj_release(&view->hdr);
next:
/* ok there is alot more done here but i need to figure out what */
/* ok there is a lot more done here but i need to figure out what */
productcode = load_dynamic_property(package,szProductCode,&rc);
if (!productcode)
return rc;
@ -5197,8 +5197,8 @@ UINT WINAPI MsiSetTargetPathW(MSIHANDLE hInstall, LPCWSTR szFolder,
* MSIRUNMODE_REBOOTATEND We need to reboot after installation completed
* MSIRUNMODE_REBOOTNOW We need to reboot to continue the installation
* MSIRUNMODE_CABINET Files from cabinet are installed
* MSIRUNMODE_SOURCESHORTNAMES Long names in source files is supressed
* MSIRUNMODE_TARGETSHORTNAMES Long names in destination files is supressed
* MSIRUNMODE_SOURCESHORTNAMES Long names in source files is suppressed
* MSIRUNMODE_TARGETSHORTNAMES Long names in destination files is suppressed
* MSIRUNMODE_RESERVED11 Reserved
* MSIRUNMODE_WINDOWS9X Running under Windows95/98
* MSIRUNMODE_ZAWENABLED Demand installation is supported

View File

@ -364,8 +364,8 @@ static UINT process_handle(MSIPACKAGE* package, UINT type,
if (!(type & 0x80))
{
/* syncronous */
TRACE("Syncronous Execution of action %s\n",debugstr_w(Name));
/* synchronous */
TRACE("Synchronous Execution of action %s\n",debugstr_w(Name));
if (ProcessHandle)
WaitForSingleObject(ProcessHandle,INFINITE);
else
@ -385,8 +385,8 @@ static UINT process_handle(MSIPACKAGE* package, UINT type,
}
else
{
TRACE("Asyncronous Execution of action %s\n",debugstr_w(Name));
/* asyncronous */
TRACE("Asynchronous Execution of action %s\n",debugstr_w(Name));
/* asynchronous */
if (type & 0x40)
{
if (ProcessHandle)

View File

@ -59,7 +59,7 @@ static const WCHAR* scanW(LPCWSTR buf, WCHAR token, DWORD len)
}
/*
* This helper function should probably go alot of places
* This helper function should probably go a lot of places
*
* Thinking about this, maybe this should become yet another Bison file
*
@ -178,14 +178,14 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
}
else
{
ERR("Unknown enviroment variable\n");
ERR("Unknown environment variable\n");
chunk = 0;
value = NULL;
rc = ERROR_FUNCTION_FAILED;
}
break;
default:
/* check for numaric values */
/* check for numeric values */
index = 0;
while (isdigitW(key[index])) index++;
if (key[index] == 0)
@ -297,7 +297,7 @@ szResult, DWORD *sz)
return ERROR_INVALID_HANDLE;
original_len = *sz;
/* +1 just to make sure we have a buffer incase the len is 0 */
/* +1 just to make sure we have a buffer in case the len is 0 */
szwResult = HeapAlloc(GetProcessHeap(),0,(original_len+1) * sizeof(WCHAR));
rc = MSI_FormatRecordW(package, record, szwResult, sz);

View File

@ -408,7 +408,7 @@ UINT read_table_from_storage( MSIDATABASE *db, LPCWSTR name, MSITABLE **ptable)
TRACE("%s\n",debugstr_w(name));
/* non-existing tables should be interpretted as empty tables */
/* non-existing tables should be interpreted as empty tables */
t = HeapAlloc( GetProcessHeap(), 0,
sizeof (MSITABLE) + lstrlenW(name)*sizeof (WCHAR) );
if( !t )

View File

@ -1493,7 +1493,7 @@ mp_exch (mp_int * a, mp_int * b)
/* this is a shell function that calls either the normal or Montgomery
* exptmod functions. Originally the call to the montgomery code was
* embedded in the normal function but that wasted alot of stack space
* embedded in the normal function but that wasted a lot of stack space
* for nothing (since 99% of the time the Montgomery code would be called)
*/
int mp_exptmod (mp_int * G, mp_int * X, mp_int * P, mp_int * Y)
@ -2629,7 +2629,7 @@ mp_mod_d (mp_int * a, mp_digit b, mp_digit * c)
* shifts with subtractions when the result is greater than b.
*
* The method is slightly modified to shift B unconditionally upto just under
* the leading bit of b. This saves alot of multiple precision shifting.
* the leading bit of b. This saves a lot of multiple precision shifting.
*/
int mp_montgomery_calc_normalization (mp_int * a, mp_int * b)
{

View File

@ -673,7 +673,7 @@ void WINAPI SHAddToRecentDocs (UINT uFlags,LPCVOID pv)
if (ret == ERROR_SUCCESS) {
if (!( (type == REG_DWORD) ||
((type == REG_BINARY) && (datalen == 4)) )) {
ERR("Error policy data for \"NoRecentDocsHistory\" not formated correctly, type=%ld, len=%ld\n",
ERR("Error policy data for \"NoRecentDocsHistory\" not formatted correctly, type=%ld, len=%ld\n",
type, datalen);
return;
}

View File

@ -49,7 +49,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(wininet);
/* FIXME
* Cookies are currently memory only.
* Cookies are NOT THREAD SAFE
* Cookies could use ALOT OF MEMORY. We need some kind of memory management here!
* Cookies could use A LOT OF MEMORY. We need some kind of memory management here!
* Cookies should care about the expiry time
*/

View File

@ -2057,7 +2057,7 @@ BOOL HTTP_GetResponseHeaders(LPWININETHTTPREQW lpwhr)
{
LPWSTR * pFieldAndValue;
TRACE("got line %s, now interpretting\n", debugstr_a(bufferA));
TRACE("got line %s, now interpreting\n", debugstr_a(bufferA));
MultiByteToWideChar( CP_ACP, 0, bufferA, buflen, buffer, MAX_REPLY_LEN );
while (cchRawHeaders + buflen + strlenW(szCrLf) > cchMaxRawHeaders)

View File

@ -624,7 +624,7 @@ static ICOM_VTABLE(IDirect3D) d3dvt = {
DCOM is theoretically an internet RFC <ulink
url="http://www.grimes.demon.co.uk/DCOM/DCOMSpec.htm">[2]</ulink> and is
specced out, but in reality the only implementation of it apart from
ours is Microsofts, and as a result there are lots of interfaces
ours is Microsoft's, and as a result there are lots of interfaces
which <emphasis>can</emphasis> be used if you want to customize or
control DCOM but in practice are badly documented or not documented at
all, or exist mostly as interfaces between MIDL generated code and COM

View File

@ -1330,7 +1330,7 @@ void be_i386_disasm_one_insn(ADDRESS *addr, int display)
struct i_addr address;
/*
* Set this so we get can supress the printout if we need to.
* Set this so we get can suppress the printout if we need to.
*/
db_display = display;
switch (addr->Mode)
@ -1760,7 +1760,7 @@ void be_i386_disasm_one_insn(ADDRESS *addr, int display)
case Dl:
if (size == WORD) {
get_value_inc(displ, addr, 2, TRUE);
/* Offsetset only affects low 16 bits */
/* Offset only affects low 16 bits */
displ = (addr->Offset & 0xffff0000)
| ((addr->Offset + displ) & 0xffff);
}

View File

@ -292,7 +292,7 @@ sub gcc_output($$) {
if(s/^(\d+):\s+//) {
$line = $1;
if(s/^warning:\s+//) {
my $supress = 0;
my $suppress = 0;
if(0) {
# Nothing
@ -306,77 +306,77 @@ sub gcc_output($$) {
HRASCONN|HRGN|HRSRC|HWAVEIN|HWAVEOUT|HWINSTA|HWND|
SC_HANDLE|WSAEVENT|handle_t|pointer)$/x)
{
$supress = 1;
$suppress = 1;
} else {
$supress = 0;
$suppress = 0;
}
} elsif(/^\(near initialization for \`(.*?)\'\)$/) {
$supress = 0;
$suppress = 0;
} elsif(/^\`(.*?)\' defined but not used$/) {
$supress = 0;
$suppress = 0;
} elsif(/^\`(.*?)\' is not at beginning of declaration$/) {
$supress = 0;
$suppress = 0;
} elsif(/^\`%x\' yields only last 2 digits of year in some locales$/) {
$supress = 1;
$suppress = 1;
} elsif(/^assignment makes integer from pointer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^assignment makes pointer from integer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^assignment from incompatible pointer type$/) {
$supress = 0;
$suppress = 0;
} elsif(/^cast from pointer to integer of different size$/) {
$supress = 0;
$suppress = 0;
} elsif(/^comparison between pointer and integer$/) {
$supress = 0;
$suppress = 0;
} elsif(/^comparison between signed and unsigned$/) {
$supress = 0;
$suppress = 0;
} elsif(/^comparison of unsigned expression < 0 is always false$/) {
$supress = 0;
$suppress = 0;
} elsif(/^comparison of unsigned expression >= 0 is always true$/) {
$supress = 0;
$suppress = 0;
} elsif(/^conflicting types for built-in function \`(.*?)\'$/) {
$supress = 0;
$suppress = 0;
} elsif(/^empty body in an if-statement$/) {
$supress = 0;
$suppress = 0;
} elsif(/^empty body in an else-statement$/) {
$supress = 0;
$suppress = 0;
} elsif(/^implicit declaration of function \`(.*?)\'$/) {
$supress = 0;
$suppress = 0;
} elsif(/^initialization from incompatible pointer type$/) {
$supress = 0;
$suppress = 0;
} elsif(/^initialization makes pointer from integer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^missing initializer$/) {
$supress = 0;
$suppress = 0;
} elsif(/^ordered comparison of pointer with integer zero$/) {
$supress = 0;
$suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') from incompatible pointer type$/) {
my $arg = $1;
my $name = $2;
if(defined($name) && $name =~ /^GDI_AllocObject$/) {
$supress = 1;
$suppress = 1;
} else {
$supress = 0;
$suppress = 0;
}
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes integer from pointer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^passing arg (\d+) of (?:pointer to function|\`(\S+)\') makes pointer from integer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^return makes integer from pointer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^return makes pointer from integer without a cast$/) {
$supress = 0;
$suppress = 0;
} elsif(/^type of \`(.*?)\' defaults to \`(.*?)\'$/) {
$supress = 0;
$suppress = 0;
} elsif(/^unused variable \`(.*?)\'$/) {
$supress = 0;
$suppress = 0;
} elsif(!$options->pedantic) {
$supress = 0;
$suppress = 0;
} else {
error("gcc_output");
}
if(!$supress) {
if(!$suppress) {
if($function) {
$message = "function $function: warning: $_";
} else {