Assorted spelling fixes.

This commit is contained in:
Frédéric Delanoy 2013-11-20 23:39:28 +01:00 committed by Alexandre Julliard
parent d2e216f462
commit 57d7f74d34
28 changed files with 39 additions and 39 deletions

View File

@ -1492,7 +1492,7 @@ void COMCTL32_GetFontMetrics(HFONT hFont, TEXTMETRICW *ptm)
* identifies them.
*
* Some of the codes are in the CCM_FIRST..CCM_LAST range, but there is no
* colision with defined CCM_ codes.
* collision with defined CCM_ codes.
*/
BOOL COMCTL32_IsReflectedMessage(UINT uMsg)
{

View File

@ -832,7 +832,7 @@ DATETIME_HitTest (const DATETIME_INFO *infoPtr, POINT pt)
}
/* Returns index of a closest date field from given counting to left
or -1 if there's no such fields at left */
or -1 if there's no such field at left */
static int DATETIME_GetPrevDateField(const DATETIME_INFO *infoPtr, int i)
{
for(--i; i >= 0; i--)

View File

@ -886,7 +886,7 @@ HEADER_SendNotifyWithIntFieldT(const HEADER_INFO *infoPtr, UINT code, INT iItem,
* Prepare callback items
* depends on NMHDDISPINFOW having same structure as NMHDDISPINFOA
* (so we handle the two cases only doing a specific cast for pszText).
* Checks if any of the required field are callback. If there are sends a
* Checks if any of the required fields is a callback. If this is the case sends a
* NMHDISPINFO notify to retrieve these items. The items are stored in the
* HEADER_ITEM pszText and iImage fields. They should be freed with
* HEADER_FreeCallbackItems.

View File

@ -1888,7 +1888,7 @@ static void PROPSHEET_UnChanged(HWND hwndDlg, HWND hwndCleanPage)
if (psInfo->proppage[i].hwndPage == hwndCleanPage)
psInfo->proppage[i].isDirty = FALSE;
/* look to see if there's any dirty pages */
/* look to see if there are any dirty pages */
if (psInfo->proppage[i].isDirty)
noPageDirty = FALSE;
}

View File

@ -1413,7 +1413,7 @@ static void test_recalc(void)
}
else win_skip( "No recalc on TBSTYLE_EX_MIXEDBUTTONS\n" );
/* undocumented exstyle 0x2 seems to changes the top margin, what
/* undocumented exstyle 0x2 seems to change the top margin, which
* interferes with these tests */
DestroyWindow(hToolbar);

View File

@ -293,7 +293,7 @@ D3DXSPRITE_SORT_TEXTURE: sort by texture (so that it doesn't change too often)
D3DXSPRITE_DONOTMODIFY_RENDERSTATE | D3DXSPRITE_OBJECTSPACE |
D3DXSPRITE_SORT_DEPTH_BACKTOFRONT))
FIXME("Flags unsupported: %#x\n", flags);
/* These flags should only matter to performances */
/* These flags should only matter to performance */
else if(flags & (D3DXSPRITE_SORT_DEPTH_FRONTTOBACK | D3DXSPRITE_SORT_TEXTURE))
TRACE("Flags unsupported: %#x\n", flags);

View File

@ -3953,7 +3953,7 @@ void msi_dialog_check_messages( HANDLE handle )
return;
}
/* there's two choices for the UI thread */
/* there are two choices for the UI thread */
while (1)
{
process_pending_messages( NULL );

View File

@ -816,7 +816,7 @@ UINT SQL_getstring( void *info, const struct sql_str *strdata, LPWSTR *str )
( (p[0]=='\'') && (p[len-1]!='\'') ) )
return ERROR_FUNCTION_FAILED;
/* if there's quotes, remove them */
/* if there are quotes, remove them */
if( ( (p[0]=='`') && (p[len-1]=='`') ) ||
( (p[0]=='\'') && (p[len-1]=='\'') ) )
{

View File

@ -564,7 +564,7 @@ static UINT table_get_column_info( MSIDATABASE *db, LPCWSTR name, MSICOLUMNINFO
*pcount = column_count;
/* if there's no columns, there's no table */
/* if there are no columns, there's no table */
if (!column_count)
return ERROR_INVALID_PARAMETER;
@ -1528,7 +1528,7 @@ static UINT table_validate_new( MSITABLEVIEW *tv, MSIRECORD *rec, UINT *column )
{
UINT r, row, i;
/* check there's no null values where they're not allowed */
/* check there are no null values where they're not allowed */
for( i = 0; i < tv->num_cols; i++ )
{
if ( tv->columns[i].type & MSITYPE_NULLABLE )
@ -1560,7 +1560,7 @@ static UINT table_validate_new( MSITABLEVIEW *tv, MSIRECORD *rec, UINT *column )
}
}
/* check there's no duplicate keys */
/* check there are no duplicate keys */
r = msi_table_find_row( tv, rec, &row, column );
if (r == ERROR_SUCCESS)
return ERROR_FUNCTION_FAILED;

View File

@ -414,7 +414,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, __ms_va_list valis
{
q = strchrW( p, '%' );
/* there's no % characters left, output the rest of the string */
/* there are no % characters left: output the rest of the string */
if( !q )
{
r = pf_output_stringW(out, p, -1);
@ -424,7 +424,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, __ms_va_list valis
continue;
}
/* there's characters before the %, output them */
/* there are characters before the %: output them */
if( q != p )
{
r = pf_output_stringW(out, p, q - p);

View File

@ -125,7 +125,7 @@ AntiMonikerImpl_Release(IMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0)
{
if (This->pMarshal) IUnknown_Release(This->pMarshal);

View File

@ -144,7 +144,7 @@ static ULONG WINAPI ClassMoniker_Release(IMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0) ClassMoniker_Destroy(This);
return ref;

View File

@ -156,7 +156,7 @@ CompositeMonikerImpl_Release(IMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0){
/* release all the components before destroying this object */
@ -1542,7 +1542,7 @@ EnumMonikerImpl_Release(IEnumMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0) {
for(i=0;i<This->tabSize;i++)

View File

@ -136,7 +136,7 @@ FileMonikerImpl_Release(IMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0) FileMonikerImpl_Destroy(This);
return ref;

View File

@ -123,7 +123,7 @@ static ULONG WINAPI ItemMonikerImpl_Release(IMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* destroy the object if there's no more reference on it */
/* destroy the object if there are no more references to it */
if (ref == 0) ItemMonikerImpl_Destroy(This);
return ref;

View File

@ -389,7 +389,7 @@ RunningObjectTableImpl_Release(IRunningObjectTable* iface)
ref = InterlockedDecrement(&This->ref);
/* uninitialize ROT structure if there's no more references to it */
/* uninitialize ROT structure if there are no more references to it */
if (ref == 0)
{
struct list *cursor, *cursor2;
@ -1335,7 +1335,7 @@ static ULONG WINAPI EnumMonikerImpl_Release(IEnumMoniker* iface)
ref = InterlockedDecrement(&This->ref);
/* uninitialize rot structure if there's no more reference to it*/
/* uninitialize ROT structure if there are no more references to it */
if (ref == 0)
{
ULONG i;

View File

@ -1392,8 +1392,8 @@ static HRESULT PropertyStorage_ReadFromStream(PropertyStorage_impl *This)
goto end;
}
/* wackiness alert: if the format ID is FMTID_DocSummaryInformation, there
* follow not one, but two sections. The first is the standard properties
* for the document summary information, and the second is user-defined
* follows not one, but two sections. The first contains the standard properties
* for the document summary information, and the second consists of user-defined
* properties. This is the only case in which multiple sections are
* allowed.
* Reading the second stream isn't implemented yet.

View File

@ -4541,7 +4541,7 @@ static ITypeLib2* ITypeLib2_Constructor_SLTG(LPVOID pLib, DWORD dwTLBLength)
len = SLTG_ReadLibBlk(pLibBlk, pTypeLibImpl);
/* Now there's 0x40 bytes of 0xffff with the numbers 0 to TypeInfoCount
/* Now there are 0x40 bytes of 0xffff with the numbers 0 to TypeInfoCount
interspersed */
len += 0x40;

View File

@ -4780,7 +4780,7 @@ static void test_WM_PASTE(void)
"test paste: strcmp = %i\n", result);
SendMessageA(hwndRichEdit, WM_SETTEXT, 0, 0);
/* Send WM_CHAR to simulates Ctrl-V */
/* Send WM_CHAR to simulate Ctrl-V */
SendMessageA(hwndRichEdit, WM_CHAR, 22,
(MapVirtualKeyA('V', MAPVK_VK_TO_VSC) << 16) | 1);
SendMessageA(hwndRichEdit, WM_GETTEXT, 1024, (LPARAM)buffer);

View File

@ -207,7 +207,7 @@ static HRESULT handle_mime_filter(BindProtocol *This, IInternetProtocol *mime_fi
return hres;
}
/* NOTE: IE9 calls it on the new protocol_sink. It doesn't make sense to is seems to be a bug there. */
/* NOTE: IE9 calls it on the new protocol_sink. It doesn't make sense so it seems to be a bug there. */
IInternetProtocolSink_ReportProgress(This->protocol_sink, BINDSTATUS_LOADINGMIMEHANDLER, NULL);
return S_OK;

View File

@ -1291,7 +1291,7 @@ static void NC_TrackMinMaxBox( HWND hwnd, WORD wParam )
ReleaseCapture();
ReleaseDC( hwnd, hdc );
/* If the item minimize or maximize of the sysmenu are not there */
/* If the minimize or maximize items of the sysmenu are not there */
/* or if the style is not present, do nothing */
if ((!pressed) || (state == 0xFFFFFFFF))
return;
@ -1321,7 +1321,7 @@ static void NC_TrackCloseButton (HWND hwnd, WPARAM wParam, LPARAM lParam)
state = GetMenuState(hSysMenu, SC_CLOSE, MF_BYCOMMAND);
/* If the item close of the sysmenu is disabled or not there do nothing */
/* If the close item of the sysmenu is disabled or not present do nothing */
if((state & MF_DISABLED) || (state & MF_GRAYED) || (state == 0xFFFFFFFF))
return;
@ -1530,7 +1530,7 @@ LRESULT NC_HandleNCLButtonDblClk( HWND hwnd, WPARAM wParam, LPARAM lParam )
HMENU hSysMenu = GetSystemMenu(hwnd, FALSE);
UINT state = GetMenuState(hSysMenu, SC_CLOSE, MF_BYCOMMAND);
/* If the item close of the sysmenu is disabled or not there do nothing */
/* If the close item of the sysmenu is disabled or not present do nothing */
if ((state & (MF_DISABLED | MF_GRAYED)) || (state == 0xFFFFFFFF))
break;

View File

@ -2378,7 +2378,7 @@ static enum wined3d_pci_device wined3d_guess_card(const struct wined3d_gl_info *
* size of the database can be made quite small because when you know what
* type of 3d functionality a card has, you know to which GPU family the
* GPU must belong. Because of this you only have to check a small part of
* the renderer string to distinguishes between different models from that
* the renderer string to distinguish between different models from that
* family.
*
* The code also selects a default amount of video memory which we will

View File

@ -863,7 +863,7 @@ static LPWSTR build_header_request_string( request_t *request, LPCWSTR verb,
/*
* Set (header) termination string for request
* Make sure there's exactly two new lines at the end of the request
* Make sure there are exactly two new lines at the end of the request
*/
p = &requestString[strlenW(requestString)-1];
while ( (*p == '\n') || (*p == '\r') )

View File

@ -161,7 +161,7 @@ BOOL GetAddress(LPCWSTR lpszServerName, INTERNET_PORT nServerPort,
TRACE("%s\n", debugstr_w(lpszServerName));
/* Validate server name first
* Check if there is sth. like
* Check if there is something like
* pinger.macromedia.com:80
* if yes, eliminate the :80....
*/

View File

@ -963,10 +963,10 @@ HRESULT WINAPI DllRegisterServer(void)
TRACE("\n");
/* Testing on native shows that when an error is encountered in one of the CryptRegisterOIDFunction calls
* the rest of these calls is skipped. Registering is however continued for the trust providers.
* the rest of these calls are skipped. Registering is however continued for the trust providers.
*
* We are not totally in line with native as there all decoding functions are registered after all encoding
* functions.
* We are not totally in line with native as all decoding functions are registered after all encoding
* functions there.
*/
#define WINTRUST_REGISTEROID( oid, encode_funcname, decode_funcname ) \
do { \

View File

@ -2286,7 +2286,7 @@ static BOOL extract_packets(struct gdb_context* gdbctx)
* it's very likely that we took too long to answer to a given packet
* and gdb is sending us the same packet again.
* So we simply drop the second packet. This will lower the risk of error,
* but there's still some race conditions here.
* but there are still some race conditions here.
* A better fix (yet not perfect) would be to have two threads:
* - one managing the packets for gdb
* - the second one managing the commands...

View File

@ -602,8 +602,8 @@ static BOOL dbg_start_debuggee(LPSTR cmdLine)
startup.wShowWindow = (current.dwFlags & STARTF_USESHOWWINDOW) ?
current.wShowWindow : SW_SHOWNORMAL;
/* FIXME: shouldn't need the CREATE_NEW_CONSOLE, but as usual CUI:s need it
* while GUI:s don't
/* FIXME: shouldn't need the CREATE_NEW_CONSOLE, but as usual CUIs need it
* while GUIs don't
*/
flags = DEBUG_PROCESS | CREATE_NEW_CONSOLE;
if (!DBG_IVAR(AlsoDebugProcChild)) flags |= DEBUG_ONLY_THIS_PROCESS;

View File

@ -532,7 +532,7 @@ static char *demangle_datatype (char **str, compound_type *ct,
if (*iter == '6')
{
int sub_expressions = 0;
/* FIXME: there are a tons of memory leaks here */
/* FIXME: there are tons of memory leaks here */
/* FIXME: this is still broken in some cases and it has to be
* merged with the function prototype parsing above...
*/