Assorted spelling fixes.

oldstable
Francois Gouget 2005-03-02 13:53:50 +00:00 committed by Alexandre Julliard
parent 16e8689008
commit fbb3343547
34 changed files with 52 additions and 51 deletions

View File

@ -1956,7 +1956,7 @@ REBAR_ValidateBand (REBAR_INFO *infoPtr, REBAR_BAND *lpBand)
infoPtr->fStatus |= BAND_NEEDS_LAYOUT;
/* Header is where the image, text and gripper exist */
/* in the band and preceed the child window. */
/* in the band and precede the child window. */
/* count number of non-FIXEDSIZE and non-Hidden bands */
nonfixed = 0;

View File

@ -513,7 +513,7 @@ static VOID SYSLINK_RepaintLink (SYSLINK_INFO *infoPtr, PDOC_ITEM DocItem)
/***********************************************************************
* SYSLINK_GetLinkItemByIndex
* Retreives a document link by it's index
* Retrieves a document link by its index
*/
static PDOC_ITEM SYSLINK_GetLinkItemByIndex (SYSLINK_INFO *infoPtr, int iLink)
{
@ -532,7 +532,7 @@ static PDOC_ITEM SYSLINK_GetLinkItemByIndex (SYSLINK_INFO *infoPtr, int iLink)
/***********************************************************************
* SYSLINK_GetFocusLink
* Retreives the link that has the LIS_FOCUSED bit
* Retrieves the link that has the LIS_FOCUSED bit
*/
static PDOC_ITEM SYSLINK_GetFocusLink (SYSLINK_INFO *infoPtr, int *LinkId)
{

View File

@ -1207,7 +1207,7 @@ static void REGION_UnionRectWithRegion(const RECT *rect, WINEREGION *rgn)
* Create a region that is a frame around another region.
* Compute the intersection of the region moved in all 4 directions
* ( +x, -x, +y, -y) and subtract from the original.
* The result looks slightly better then in Windows :)
* The result looks slightly better than in Windows :)
*/
BOOL REGION_FrameRgn( HRGN hDest, HRGN hSrc, INT x, INT y )
{
@ -2170,7 +2170,7 @@ static void REGION_SubtractO (WINEREGION *pReg, RECT *r1, RECT *r1End,
else if (r2->left <= left)
{
/*
* Subtrahend preceeds minuend: nuke left edge of minuend.
* Subtrahend precedes minuend: nuke left edge of minuend.
*/
left = r2->right;
if (left >= r1->right)

View File

@ -608,7 +608,7 @@ static BOOL build_command_line( WCHAR **argv )
if (*a==' ' || *a=='\t') {
has_space=1;
} else if (*a=='"') {
/* doubling of '\' preceeding a '"',
/* doubling of '\' preceding a '"',
* plus escaping of said '"'
*/
len+=2*bcount+1;
@ -667,7 +667,7 @@ static BOOL build_command_line( WCHAR **argv )
if (*a=='"') {
int i;
/* Double all the '\\' preceeding this '"', plus one */
/* Double all the '\\' preceding this '"', plus one */
for (i=0;i<=bcount;i++)
*p++='\\';
*p++='"';

View File

@ -583,8 +583,9 @@ static void test_CopyFileA(void)
ok(ret == sizeof(prefix), "destination file has wrong size %ld\n", ret);
/* make sure that destination has the same filetime */
ok(ret = GetFileTime(hfile, NULL, NULL, &ft1), "GetFileTime error %ld\n", GetLastError());
ok(ret = GetFileTime(hfile, NULL, NULL, &ft2), "GetFileTime error %ld\n", GetLastError());
ok(CompareFileTime(&ft1, &ft2) == 0, "destination file has wrong filetime");
ok(CompareFileTime(&ft1, &ft2) == 0, "destination file has wrong filetime\n");
SetLastError(0xdeadbeef);
ret = CopyFileA(source, dest, FALSE);

View File

@ -2299,8 +2299,8 @@ static UINT SetFeatureStates(MSIPACKAGE *package)
install_level = 1;
/* ok hereis the _real_ rub
* all these activation/deactiontion things happen in order and things later
* on the list override things earlier on the list.
* all these activation/deactivation things happen in order and things
* later on the list override things earlier on the list.
* 1) INSTALLLEVEL processing
* 2) ADDLOCAL
* 3) REMOVE
@ -2312,13 +2312,13 @@ static UINT SetFeatureStates(MSIPACKAGE *package)
* 9) FILEADDLOCAL
* 10) FILEADDSOURCE
* 11) FILEADDDEFAULT
* I have confirmed this if ADDLOCALis stated then the INSTALLLEVEL is
* itnored for all the features. seems strange, epsecially since it is not
* I have confirmed that if ADDLOCAL is stated then the INSTALLLEVEL is
* ignored for all the features. seems strange, especially since it is not
* documented anywhere, but it is how it works.
*
* I am still ignoring alot of these. But that is ok for now, ADDLOCAL and
* REMOVE are the big ones, since we dont handle administrative installs yet
* anyway.
* I am still ignoring a lot of these. But that is ok for now, ADDLOCAL and
* REMOVE are the big ones, since we don't handle administrative installs
* yet anyway.
*/
override |= process_state_property(package,szAddLocal,INSTALLSTATE_LOCAL);
override |= process_state_property(package,szRemove,INSTALLSTATE_ABSENT);

View File

@ -1176,7 +1176,7 @@ INSTALLSTATE WINAPI MsiGetComponentPathW(LPCWSTR szProduct, LPCWSTR szComponent,
}
else
{
/* PROBIBLY a file */
/* PROBABLY a file */
if ( GetFileAttributesW(path) != INVALID_FILE_ATTRIBUTES )
rrc = INSTALLSTATE_LOCAL;
else

View File

@ -1971,7 +1971,7 @@ int _write(int fd, const void* buf, unsigned int count)
{
unsigned int i, j, nr_lf;
char *s =(char*)buf, *buf_start=(char*)buf, *p;
/* find number of \n ( without preceeding \r */
/* find number of \n ( without preceding \r ) */
for ( nr_lf=0,i = 0; i <count; i++)
{
if (s[i]== '\n')

View File

@ -1212,7 +1212,7 @@ NTSTATUS WINAPI RtlCheckRegistryKey(IN ULONG RelativeTo, IN PWSTR Path)
* ValueName [I] Name of the value to delete
*
* RETURNS
* STATUS_SUCCESS if the specified key is sucesfully deleted, or an NTSTATUS error code.
* STATUS_SUCCESS if the specified key is successfully deleted, or an NTSTATUS error code.
*/
NTSTATUS WINAPI RtlDeleteRegistryValue(IN ULONG RelativeTo, IN PCWSTR Path, IN PCWSTR ValueName)
{

View File

@ -799,7 +799,7 @@ LRESULT CALLBACK OLEClipbrd_WndProc
* (Recall that in OleSetClipboard, we used SetClipboardData to
* make all HGLOBAL formats supported by the source IDataObject
* available using delayed rendering)
* On receiving this mesage we must actually render the data in the
* On receiving this message we must actually render the data in the
* specified format and place it on the clipboard by calling the
* SetClipboardData function.
*/

View File

@ -4117,7 +4117,7 @@ static ULONG WINAPI ITypeInfo_fnRelease(ITypeInfo2 *iface)
if (ref) {
/* We don't release ITypeLib when ref=0 because
it means that funtion is called by ITypeLi2_Release */
it means that function is called by ITypeLib2_Release */
ITypeLib2_Release((ITypeLib2*)This->pTypeLib);
} else {
FIXME("destroy child objects\n");

View File

@ -94,7 +94,7 @@ static const WCHAR szPercentZeroStar_d[] = { '%','0','*','d','\0' };
* characters. Literal characters are copied unmodified to the formatted
* output at the position they occupy in the format string. Any character
* that is not recognised as a token is treated as a literal. A literal can
* also be specified by preceeding it with a backslash character
* also be specified by preceding it with a backslash character
* (e.g. "\L\i\t\e\r\a\l") or enclosing it in double quotes.
*
* A user-defined format can have up to 4 sections, depending on the type of

View File

@ -887,8 +887,8 @@ char buf[rtfBufSiz];
/*
* Convert a CaracterSetMap (caracter_name, caracter) into
* this form : array[caracter_ident] = caracter;
* Convert a CharSetMap (character_name, character) into
* this form : array[character_ident] = character;
*/
int RTFReadCharSetMap(RTF_Info *info, int csId)

View File

@ -149,7 +149,7 @@ static LRESULT WINAPI RICHED32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
newstyle &= ~ES_NUMBER; /* Reused as ES_DISABLENOSCROLL */
SetWindowLongA(hwnd,GWL_STYLE, newstyle);
/* Note that SetWindowLongA(hwnd,GWL_STYLE...) doesnt update
/* Note that SetWindowLongA(hwnd,GWL_STYLE...) does not update
the style field in the text window as the edit structure is
not initialized until it processes this message. Therefore
update the style in the message itself */

View File

@ -26,7 +26,7 @@
* - a right mousebutton-copy sets the following formats:
* classic:
* Shell IDList Array
* Prefered Drop Effect
* Preferred Drop Effect
* Shell Object Offsets
* HDROP
* FileName

View File

@ -650,7 +650,7 @@ static HRESULT Stream_LoadAdvertiseInfo( IStream* stm, LPWSTR *str )
size = sizeof buffer - sizeof (DWORD);
if( buffer.size != sizeof buffer )
{
ERR("Ooops. This structure is different to expected...\n");
ERR("Ooops. This structure is not as expected...\n");
return E_FAIL;
}
@ -865,7 +865,7 @@ static HRESULT Stream_WriteString( IStream* stm, LPCWSTR str )
*
* FIXME: One day we might want to write the network volume information
* and the final path.
* Figure out how Windows deals with unicode pathes here.
* Figure out how Windows deals with unicode paths here.
*/
static HRESULT Stream_WriteLocationInfo( IStream* stm, LPCWSTR path,
volume_info *volume )

View File

@ -303,7 +303,7 @@ static ULONG WINAPI IShellFolder_fnRelease (IShellFolder2 * iface)
*
* If the caller bound File System Bind Data, assume it is the
* find data for the path.
* This allows binding of pathes that don't exist.
* This allows binding of paths that don't exist.
*/
LPITEMIDLIST SHELL32_CreatePidlFromBindCtx(IBindCtx *pbc, LPCWSTR path)
{

View File

@ -40,7 +40,7 @@
* - a popup window (InstanceClass) is created for each instance.
* - this window is used to receive all the DDEML events (server registration,
* conversation confirmation...). See the WM_WDML_???? messages for details
* + when registring a server (DdeNameService) a WDML_SERVER is created
* + when registering a server (DdeNameService) a WDML_SERVER is created
* - a popup window (ServerNameClass) is created
* + a conversation is represented by two WDML_CONV structures:
* - one on the client side, the other one on the server side

View File

@ -1092,7 +1092,7 @@ static void test_SPI_SETWORKAREA( void ) /* 47 */
/* Modify the work area only minimally as this causes the icons that
* fall outside it to be moved around thus requiring the user to
* reposition them manually one by one.
* Changing the work area by just one pixel should make this occurence
* Changing the work area by just one pixel should make this occurrence
* reasonably unlikely.
*/
curr_val.left = old_area.left;

View File

@ -623,7 +623,7 @@ void WINAPI VXD_Win32s( CONTEXT86 *context )
* and StackLinearToSegmented for the byte sequence '0F 01 04'
* (this is the opcode of 'sgdt [si]'). We then search backwards
* from this address for the last occurrence of 'CB' (retf) that marks
* the end of the preceeding function. The following byte (which
* the end of the preceding function. The following byte (which
* should now be the first byte of the function we are looking for)
* will be replaced by 'CB' (retf).
*

View File

@ -1322,7 +1322,7 @@ static BOOL wodUpdatePlayedTotal(WINE_WAVEOUT* wwo, audio_buf_info* info)
}
/* GETOSPACE is not always accurate when we're down to the last fragment or two;
** we try to accomodate that here by assuming that the dsp is empty by looking
** we try to accommodate that here by assuming that the dsp is empty by looking
** at the clock rather than the result of GETOSPACE */
notplayed = wwo->dwBufferSize - info->bytes;
if (notplayed > 0 && notplayed < (info->fragsize * 2))

View File

@ -300,7 +300,7 @@
<listitem>
<para>
Win 9x roots its architecture in 16 bit systems, while
NT is truely a 32 bit system.
NT is truly a 32 bit system.
</para>
</listitem>
<listitem>

View File

@ -5,7 +5,7 @@
<para>
Once you've decided that Wine is right for your needs, the next step is
to decide how you want to install it. There are three methods for
installing Wine from Winehq, each with their own advantages and
installing Wine from WineHQ, each with their own advantages and
disadvantages.
</para>

View File

@ -98,7 +98,7 @@
* - Finally the set of 'IDirect3D_Xxx' macros is a standard set of macros defined to ease access
* to the interface methods in C. Unfortunately I don't see any way to avoid having to duplicate
* the inherited method definitions there. This time I could have used a trick to use only one
* macro whatever the number of parameters but I prefered to have it work the same way as above.
* macro whatever the number of parameters but I preferred to have it work the same way as above.
* - You probably have noticed that we don't define the fields we need to actually implement this
* interface: reference count, pointer to other resources and miscellaneous fields. That's
* because these interfaces are just that: interfaces. They may be implemented more than once, in

View File

@ -728,7 +728,7 @@ LRESULT CALLBACK EXPORT mainWindowDispatcher(
MessageBox(hWnd, "Finding next occurrence.", "Findnext", MB_OK);
}
else if (lpfr->Flags & FR_REPLACE) {
MessageBox(hWnd, "Replacing next occurence.", "Replace", MB_OK);
MessageBox(hWnd, "Replacing next occurrence.", "Replace", MB_OK);
}
else if (lpfr->Flags & FR_REPLACEALL) {
MessageBox(hWnd, "Replacing all occurrences.", "Replace All", MB_OK);

View File

@ -107,7 +107,7 @@ int main (int argc, char *argv[])
if (*a==' ' || *a=='\t') {
has_space=1;
} else if (*a=='"') {
/* doubling of '\' preceeding a '"',
/* doubling of '\' preceding a '"',
* plus escaping of said '"'
*/
len+=2*bcount+1;
@ -165,7 +165,7 @@ int main (int argc, char *argv[])
if (*a=='"') {
int i;
/* Double all the '\\' preceeding this '"', plus one */
/* Double all the '\\' preceding this '"', plus one */
for (i=0;i<=bcount;i++)
*p++='\\';
*p++='"';

View File

@ -223,7 +223,7 @@ static BOOL pendingRename()
}
res=RegQueryValueExW( hSession, ValueName, NULL, NULL /* The value type does not really interest us, as it is not
truely a REG_MULTI_SZ anyways */,
truly a REG_MULTI_SZ anyways */,
NULL, &dataLength );
if( res==ERROR_FILE_NOT_FOUND )
{

View File

@ -1215,7 +1215,7 @@ static void db_print_address(const char *seg, int size, struct i_addr *addrp, in
else {
/* try to get destination of indirect call
does not work for segmented adresses */
does not work for segmented addresses */
if (!seg && byref) {
void* a1;
void* a2;

View File

@ -59,7 +59,7 @@ static char *build_command_line( char **argv )
if (*a==' ' || *a=='\t') {
has_space=1;
} else if (*a=='"') {
/* doubling of '\' preceeding a '"',
/* doubling of '\' preceding a '"',
* plus escaping of said '"'
*/
len+=2*bcount+1;
@ -117,7 +117,7 @@ static char *build_command_line( char **argv )
if (*a=='"') {
int i;
/* Double all the '\\' preceeding this '"', plus one */
/* Double all the '\\' preceding this '"', plus one */
for (i=0;i<=bcount;i++)
*p++='\\';
*p++='"';

View File

@ -195,7 +195,7 @@ static void write_function_stubs(type_t *iface)
fprintf(client, "\n");
/* send/recieve message */
/* send/receive message */
/* print_client("NdrNsSendReceive(\n"); */
print_client("NdrSendReceive(\n");
indent++;

View File

@ -356,7 +356,7 @@ specified.
will be the name available for dynamic
linking.
.I data
can be a decimal number or a hex number preceeded by "0x". The
can be a decimal number or a hex number preceded by "0x". The
following example defines the variable VariableA at ordinal 2 and
containing 4 ints:
.IP
@ -404,7 +404,7 @@ This declaration defines an ordinal as an absolute value.
.I exportname
will be the name available for dynamic linking.
.I data
can be a decimal number or a hex number preceeded by "0x".
can be a decimal number or a hex number preceded by "0x".
.SH AUTHORS
.B winebuild
has been worked on by many people over the years. The main authors are

View File

@ -355,9 +355,9 @@ static void dump_dir_exported_functions(void)
printf(" Ordinal base: %lu\n", exportDir->Base);
printf(" # of functions: %lu\n", exportDir->NumberOfFunctions);
printf(" # of Names: %lu\n", exportDir->NumberOfNames);
printf("Adresses of functions: %08lX\n", exportDir->AddressOfFunctions);
printf("Adresses of name ordinals: %08lX\n", exportDir->AddressOfNameOrdinals);
printf("Adresses of names: %08lX\n", exportDir->AddressOfNames);
printf("Addresses of functions: %08lX\n", exportDir->AddressOfFunctions);
printf("Addresses of name ordinals: %08lX\n", exportDir->AddressOfNameOrdinals);
printf("Addresses of names: %08lX\n", exportDir->AddressOfNames);
printf("\n");
printf(" Entry Pt Ordn Name\n");

View File

@ -46,7 +46,7 @@ static const char *swap_after[] =
/* Items containing these substrings are assumed to be wide character
* strings, unless they contain more that one '*'. A preceeding 'LP'
* strings, unless they contain more that one '*'. A preceding 'LP'
* counts as a '*', so 'LPWCSTR *' is a pointer, not a string
*/
static const char *wide_strings[] =
@ -55,7 +55,7 @@ static const char *wide_strings[] =
};
/* Items containing these substrings are assumed to be wide characters,
* unless they contain one '*'. A preceeding 'LP' counts as a '*',
* unless they contain one '*'. A preceding 'LP' counts as a '*',
* so 'WCHAR *' is string, while 'LPWCHAR *' is a pointer
*/
static const char *wide_chars[] =

View File

@ -458,7 +458,7 @@ resources
* for tNL. However, byacc already generates an error upon reading
* the token instead of keeping it as a lookahead. The reason
* lies in the lack of a $default transition in the "expr : xpr . "
* state (currently state 25). It is probably ommitted because tNL
* state (currently state 25). It is probably omitted because tNL
* is a non-terminal and the state contains 2 s/r conflicts. The
* state enumerates all possible transitions instead of using a
* $default transition.