Commit 6b10c324 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent 6d19a37c
......@@ -476,7 +476,7 @@ CheckParameter:
if(linktext != NULL && linklen > 0)
{
/* we got a unclosed link, just display the text */
/* we got an unclosed link, just display the text */
Last = SYSLINK_AppendDocItem(infoPtr, linktext, linklen, slText, Last);
if(Last == NULL)
{
......
......@@ -186,7 +186,7 @@ HPALETTE WINAPI CreatePalette(
* Failure: 0
*
* FIXME: This simply creates the halftone palette derived from running
* tests on an windows NT machine. this is assuming a color depth
* tests on a windows NT machine. This is assuming a color depth
* of greater that 256 color. On a 256 color device the halftone
* palette will be different and this function will be incorrect
*/
......
......@@ -635,7 +635,7 @@ BOOL WINAPI BuildCommDCBAndTimeoutsW(
*
* RETURNS
*
* True on success, false on an malformed control string.
* True on success, false on a malformed control string.
*/
BOOL WINAPI BuildCommDCBW(
LPCWSTR devid, /* [in] The unicode device control string. */
......
......@@ -393,7 +393,7 @@ static UINT msi_dialog_pathedit_control( msi_dialog *dialog, MSIRECORD *rec )
return msi_dialog_edit_control( dialog, rec );
}
/* radio buttons are a bit different to a normal control */
/* radio buttons are a bit different from normal controls */
static UINT msi_dialog_create_radiobutton( MSIRECORD *rec, LPVOID param )
{
radio_button_group_descr *group = (radio_button_group_descr *)param;
......
......@@ -1343,7 +1343,7 @@ NTSTATUS WINAPI RtlAppendStringToString(
/**************************************************************************
* RtlAppendUnicodeToString (NTDLL.@)
*
* Concatenates an buffered unicode string and a '\0' terminated unicode
* Concatenates a buffered unicode string and a '\0' terminated unicode
* string
*
* RETURNS
......
......@@ -1144,7 +1144,7 @@ HRESULT WINAPI CLSIDFromProgID(LPCOLESTR progid, LPCLSID riid)
*
* We only search the registry, not ids registered with
* CoRegisterPSClsid.
* Also, native returns S_OK for interfaces with an key in HKCR\Interface, but
* Also, native returns S_OK for interfaces with a key in HKCR\Interface, but
* without a ProxyStubClsid32 key and leaves garbage in pclsid. This should be
* considered a bug in native unless an application depends on this (unlikely).
*/
......
......@@ -343,7 +343,7 @@ static void test_normal_marshal_and_unmarshal()
ok_no_locks();
}
/* tests failure case of a unmarshaling an freed object */
/* tests failure case of unmarshaling a freed object */
static void test_marshal_and_unmarshal_invalid()
{
HRESULT hr;
......
......@@ -169,7 +169,7 @@ typedef struct tagMSFT_ImpInfo {
/* function description data */
typedef struct {
/* INT recsize; record size including some xtra stuff */
INT DataType; /* data type of the memeber, eg return of function */
INT DataType; /* data type of the member, eg return of function */
INT Flags; /* something to do with attribute flags (LOWORD) */
#ifdef WORDS_BIGENDIAN
INT16 funcdescsize; /* size of reconstituted FUNCDESC and related structs */
......@@ -184,7 +184,7 @@ typedef struct {
/* bit 3 that parameter has default values */
/* calling convention (bits 4-7 ) */
/* bit 8 indicates that custom data is present */
/* Invokation kind (bits 9-12 ) */
/* Invocation kind (bits 9-12 ) */
/* function kind (eg virtual), bits 13-15 */
#ifdef WORDS_BIGENDIAN
INT16 nroargs; /* nr of optional arguments */
......
......@@ -453,7 +453,7 @@ RPC_STATUS RPCRT4_OpenBinding(RpcBinding* Binding, RpcConnection** Connection,
RPCRT4_DestroyConnection(Binding->FromConn);
Binding->FromConn = NULL;
} else {
/* we already have an connection with acceptable binding, so use it */
/* we already have a connection with acceptable binding, so use it */
if (Binding->FromConn) {
*Connection = Binding->FromConn;
return RPC_S_OK;
......
......@@ -3329,7 +3329,7 @@ error:
return err;
}
/* reads a unsigned char array, assumes the msb is stored first [big endian] */
/* reads an unsigned char array, assumes the msb is stored first [big endian] */
int
mp_read_unsigned_bin (mp_int * a, unsigned char *b, int c)
{
......
......@@ -160,10 +160,10 @@ static BOOL UNIXFS_pidl_to_path(LPCITEMIDLIST pidl, PSZ *path) {
/******************************************************************************
* UNIXFS_build_subfolder_pidls [Internal]
*
* Builds an array of subfolder PIDLs relativ to an unix directory
* Builds an array of subfolder PIDLs relative to a unix directory
*
* PARAMS
* path [I] Name of an unix directory as an zero terminated ascii string
* path [I] Name of a unix directory as a zero terminated ascii string
* apidl [O] The array of PIDLs
* pCount [O] Size of apidl
*
......
......@@ -3103,7 +3103,7 @@ BOOL WINAPI InternetAutodial(DWORD dwFlags, HWND hwndParent)
/***********************************************************************
* InternetAutodialHangup
*
* Hangs up an connection made with InternetAutodial
* Hangs up a connection made with InternetAutodial
*
* PARAM
* dwReserved
......
......@@ -1008,7 +1008,7 @@ static void WINAPI do_getservbyname( HANDLE *starttest )
for ( i = 0; i < NUM_QUERIES / 2; i++ ) {
for ( j = 0; j < 2; j++ ) {
pserv[j] = getservbyname ( serv[j].name, serv[j].proto );
ok ( pserv[j] != NULL, "getservbyname could not retreive information for %s: %d\n", serv[j].name, WSAGetLastError() );
ok ( pserv[j] != NULL, "getservbyname could not retrieve information for %s: %d\n", serv[j].name, WSAGetLastError() );
ok ( pserv[j]->s_port == htons(serv[j].port), "getservbyname returned the wrong port for %s: %d\n", serv[j].name, ntohs(pserv[j]->s_port) );
ok ( !strcmp ( pserv[j]->s_proto, serv[j].proto ), "getservbyname returned the wrong protocol for %s: %s\n", serv[j].name, pserv[j]->s_proto );
ok ( !strcmp ( pserv[j]->s_name, serv[j].name ), "getservbyname returned the wrong name for %s: %s\n", serv[j].name, pserv[j]->s_name );
......
......@@ -2097,7 +2097,7 @@ static int XFONT_BuildMetrics(char** x_pattern, int res, unsigned x_checksum, in
{
LFD lfd1;
char pxl_string[4], res_string[4];
/* set scalable font height to get an basis for extrapolation */
/* set scalable font height to get a basis for extrapolation */
fi->lfd_height = DEF_SCALABLE_HEIGHT;
fi->lfd_resolution = res;
......
......@@ -578,7 +578,7 @@ void closeKey()
void doSetValue(LPSTR stdInput)
{
/*
* We encoutered the end of the file, make sure we
* We encountered the end of the file, make sure we
* close the opened key and exit
*/
if (stdInput == NULL) {
......@@ -616,7 +616,7 @@ void doSetValue(LPSTR stdInput)
void doQueryValue(LPSTR stdInput)
{
/*
* We encoutered the end of the file, make sure we
* We encountered the end of the file, make sure we
* close the opened key and exit
*/
if (stdInput == NULL) {
......
......@@ -165,7 +165,7 @@ typedef struct tagMSFT_ImpInfo {
/* function description data */
typedef struct {
/* INT recsize; record size including some xtra stuff */
INT DataType; /* data type of the memeber, eg return of function */
INT DataType; /* data type of the member, eg return of function */
INT Flags; /* something to do with attribute flags (LOWORD) */
#ifdef WORDS_BIGENDIAN
INT16 funcdescsize; /* size of reconstituted FUNCDESC and related structs */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment