Commit c531e2ab authored by Austin English's avatar Austin English Committed by Alexandre Julliard

Spelling fixes.

parent dd39c1f9
...@@ -555,8 +555,8 @@ static INT ...@@ -555,8 +555,8 @@ static INT
PAGER_SetFixedWidth(PAGER_INFO* infoPtr) PAGER_SetFixedWidth(PAGER_INFO* infoPtr)
{ {
/* Must set the non-scrollable dimension to be less than the full height/width /* Must set the non-scrollable dimension to be less than the full height/width
* so that NCCalcSize is called. The Msoft docs mention 3/4 factor for button * so that NCCalcSize is called. The Microsoft docs mention 3/4 factor for button
* size, and experimentation shows that affect is almost right. */ * size, and experimentation shows that the effect is almost right. */
RECT wndRect; RECT wndRect;
INT delta, h; INT delta, h;
...@@ -586,8 +586,8 @@ static INT ...@@ -586,8 +586,8 @@ static INT
PAGER_SetFixedHeight(PAGER_INFO* infoPtr) PAGER_SetFixedHeight(PAGER_INFO* infoPtr)
{ {
/* Must set the non-scrollable dimension to be less than the full height/width /* Must set the non-scrollable dimension to be less than the full height/width
* so that NCCalcSize is called. The Msoft docs mention 3/4 factor for button * so that NCCalcSize is called. The Microsoft docs mention 3/4 factor for button
* size, and experimentation shows that affect is almost right. */ * size, and experimentation shows that the effect is almost right. */
RECT wndRect; RECT wndRect;
INT delta, w; INT delta, w;
......
...@@ -4984,7 +4984,7 @@ TOOLBAR_SetRows (HWND hwnd, WPARAM wParam, LPARAM lParam) ...@@ -4984,7 +4984,7 @@ TOOLBAR_SetRows (HWND hwnd, WPARAM wParam, LPARAM lParam)
/* FIXME: Separators make this quite complex */ /* FIXME: Separators make this quite complex */
if (seps) FIXME("Separators unhandled\n"); if (seps) FIXME("Separators unhandled\n");
/* Round up so more per line, ie less rows */ /* Round up so more per line, i.e., less rows */
idealWrap = (infoPtr->nNumButtons - hidden + (rows-1)) / rows; idealWrap = (infoPtr->nNumButtons - hidden + (rows-1)) / rows;
/* Calculate ideal wrap point if we are allowed to grow, but cannot /* Calculate ideal wrap point if we are allowed to grow, but cannot
......
...@@ -779,7 +779,7 @@ static void dump_dcb(const DCB* lpdcb) ...@@ -779,7 +779,7 @@ static void dump_dcb(const DCB* lpdcb)
* SetCommState (KERNEL32.@) * SetCommState (KERNEL32.@)
* *
* Re-initializes all hardware and control settings of a communications device, * Re-initializes all hardware and control settings of a communications device,
* with values from a device control block without effecting the input and output * with values from a device control block without affecting the input and output
* queues. * queues.
* *
* PARAMS * PARAMS
...@@ -789,7 +789,7 @@ static void dump_dcb(const DCB* lpdcb) ...@@ -789,7 +789,7 @@ static void dump_dcb(const DCB* lpdcb)
* *
* RETURNS * RETURNS
* *
* True on success, false on failure eg if the XonChar is equal to the XoffChar. * True on success, false on failure, e.g., if the XonChar is equal to the XoffChar.
*/ */
BOOL WINAPI SetCommState( HANDLE handle, LPDCB lpdcb) BOOL WINAPI SetCommState( HANDLE handle, LPDCB lpdcb)
{ {
......
...@@ -1749,8 +1749,8 @@ BOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent, ...@@ -1749,8 +1749,8 @@ BOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent,
} }
SERVER_END_REQ; SERVER_END_REQ;
/* FIXME: shall this function be synchronous, ie only return when all events /* FIXME: Shall this function be synchronous, i.e., only return when all events
* have been handled by all processes in the given group ? * have been handled by all processes in the given group?
* As of today, we don't wait... * As of today, we don't wait...
*/ */
return ret; return ret;
......
...@@ -206,7 +206,7 @@ static void COMPOBJ_InitProcess( void ) ...@@ -206,7 +206,7 @@ static void COMPOBJ_InitProcess( void )
/* Dispatching to the correct thread in an apartment is done through /* Dispatching to the correct thread in an apartment is done through
* window messages rather than RPC transports. When an interface is * window messages rather than RPC transports. When an interface is
* marshalled into another apartment in the same process, a window of the * marshalled into another apartment in the same process, a window of the
* following class is created. The *caller* of CoMarshalInterface (ie the * following class is created. The *caller* of CoMarshalInterface (i.e., the
* application) is responsible for pumping the message loop in that thread. * application) is responsible for pumping the message loop in that thread.
* The WM_USER messages which point to the RPCs are then dispatched to * The WM_USER messages which point to the RPCs are then dispatched to
* COM_AptWndProc by the user's code from the apartment in which the interface * COM_AptWndProc by the user's code from the apartment in which the interface
......
...@@ -87,8 +87,8 @@ struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object) ...@@ -87,8 +87,8 @@ struct stub_manager *new_stub_manager(APARTMENT *apt, IUnknown *object)
sm->oxid_info.dwAuthnHint = RPC_C_AUTHN_LEVEL_NONE; sm->oxid_info.dwAuthnHint = RPC_C_AUTHN_LEVEL_NONE;
sm->oxid_info.psa = NULL /* FIXME */; sm->oxid_info.psa = NULL /* FIXME */;
/* yes, that's right, this starts at zero. that's zero EXTERNAL /* Yes, that's right, this starts at zero. that's zero EXTERNAL
* refs, ie nobody has unmarshalled anything yet. we can't have * refs, i.e., nobody has unmarshalled anything yet. We can't have
* negative refs because the stub manager cannot be explicitly * negative refs because the stub manager cannot be explicitly
* killed, it has to die by somebody unmarshalling then releasing * killed, it has to die by somebody unmarshalling then releasing
* the marshalled ifptr. * the marshalled ifptr.
......
...@@ -2170,7 +2170,7 @@ static ITypeInfoImpl * MSFT_DoTypeInfo( ...@@ -2170,7 +2170,7 @@ static ITypeInfoImpl * MSFT_DoTypeInfo(
break; break;
case TKIND_DISPATCH: case TKIND_DISPATCH:
/* This is not -1 when the interface is a non-base dual interface or /* This is not -1 when the interface is a non-base dual interface or
when a dispinterface wraps an interface ie the idl 'dispinterface x {interface y;};'. when a dispinterface wraps an interface, i.e., the idl 'dispinterface x {interface y;};'.
Note however that GetRefTypeOfImplType(0) always returns a ref to IDispatch and Note however that GetRefTypeOfImplType(0) always returns a ref to IDispatch and
not this interface. not this interface.
*/ */
......
...@@ -175,9 +175,9 @@ glAttribFunc normal_funcs[WINED3DDECLTYPE_UNUSED]; ...@@ -175,9 +175,9 @@ glAttribFunc normal_funcs[WINED3DDECLTYPE_UNUSED];
glTexAttribFunc texcoord_funcs[WINED3DDECLTYPE_UNUSED]; glTexAttribFunc texcoord_funcs[WINED3DDECLTYPE_UNUSED];
/** /**
* Note: GL seems to trap if GetDeviceCaps is called before any HWND's created * Note: GL seems to trap if GetDeviceCaps is called before any HWND's created,
* ie there is no GL Context - Get a default rendering context to enable the * i.e., there is no GL Context - Get a default rendering context to enable the
* function query some info from GL * function query some info from GL.
*/ */
static int wined3d_fake_gl_context_ref = 0; static int wined3d_fake_gl_context_ref = 0;
......
...@@ -686,7 +686,7 @@ void shader_generate_glsl_declarations( ...@@ -686,7 +686,7 @@ void shader_generate_glsl_declarations(
shader_addline(buffer, "attribute vec4 attrib%i;\n", i); shader_addline(buffer, "attribute vec4 attrib%i;\n", i);
} }
/* Declare loop registers alx */ /* Declare loop registers aLx */
for (i = 0; i < reg_maps->loop_depth; i++) { for (i = 0; i < reg_maps->loop_depth; i++) {
shader_addline(buffer, "int aL%u;\n", i); shader_addline(buffer, "int aL%u;\n", i);
shader_addline(buffer, "int tmpInt%u;\n", i); shader_addline(buffer, "int tmpInt%u;\n", i);
......
...@@ -1583,11 +1583,11 @@ void set_tex_op(IWineD3DDevice *iface, BOOL isAlpha, int Stage, WINED3DTEXTUREOP ...@@ -1583,11 +1583,11 @@ void set_tex_op(IWineD3DDevice *iface, BOOL isAlpha, int Stage, WINED3DTEXTUREOP
the form (a1 <operation> a2). However, some of the more complex operations the form (a1 <operation> a2). However, some of the more complex operations
take 3 parameters. Instead of the (sensible) addition of a3, Microsoft added take 3 parameters. Instead of the (sensible) addition of a3, Microsoft added
in a third parameter called a0. Therefore these are operations of the form in a third parameter called a0. Therefore these are operations of the form
a0 <operation> a1 <operation> a2, ie the new parameter goes to the front. a0 <operation> a1 <operation> a2, i.e., the new parameter goes to the front.
However, below we treat the new (a0) parameter as src2/opr2, so in the actual However, below we treat the new (a0) parameter as src2/opr2, so in the actual
functions below, expect their syntax to differ slightly to those listed in the functions below, expect their syntax to differ slightly to those listed in the
manuals, ie replace arg1 with arg3, arg2 with arg1 and arg3 with arg2 manuals, i.e., replace arg1 with arg3, arg2 with arg1 and arg3 with arg2
This affects WINED3DTOP_MULTIPLYADD and WINED3DTOP_LERP */ This affects WINED3DTOP_MULTIPLYADD and WINED3DTOP_LERP */
if (isAlpha) { if (isAlpha) {
......
...@@ -1015,7 +1015,7 @@ static BOOL LFD_ComposeLFD( const fontObject* fo, ...@@ -1015,7 +1015,7 @@ static BOOL LFD_ComposeLFD( const fontObject* fo,
aLFD.charset_encoding = any; aLFD.charset_encoding = any;
break; break;
case 255: /* no suffix - it ends eg "-ascii" */ case 255: /* no suffix - it ends, e.g., "-ascii" */
aLFD.charset_encoding = NULL; aLFD.charset_encoding = NULL;
break; break;
} }
...@@ -1715,7 +1715,7 @@ static LPCSTR XFONT_UnAlias(char* font) ...@@ -1715,7 +1715,7 @@ static LPCSTR XFONT_UnAlias(char* font)
XFONT_InitialCapitals(font); /* to remove extra white space */ XFONT_InitialCapitals(font); /* to remove extra white space */
for( fa = aliasTable; fa; fa = fa->next ) for( fa = aliasTable; fa; fa = fa->next )
/* use case insensitive matching to handle eg "MS Sans Serif" */ /* use case insensitive matching to handle, e.g., "MS Sans Serif" */
if( !strcasecmp( fa->faAlias, font ) ) if( !strcasecmp( fa->faAlias, font ) )
{ {
TRACE("found alias '%s'->%s'\n", font, fa->faTypeFace ); TRACE("found alias '%s'->%s'\n", font, fa->faTypeFace );
......
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