From 18157f5f3c4f64b0821ae4c1ce2e6a0bedd10d70 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 23 Apr 2008 00:13:32 -0500 Subject: [PATCH] Spelling fixes --- dlls/comctl32/pager.c | 8 ++++---- dlls/comctl32/toolbar.c | 2 +- dlls/kernel32/comm.c | 4 ++-- dlls/kernel32/console.c | 4 ++-- dlls/ole32/compobj.c | 2 +- dlls/ole32/stubmanager.c | 4 ++-- dlls/oleaut32/typelib.c | 2 +- dlls/wined3d/directx.c | 6 +++--- dlls/wined3d/glsl_shader.c | 2 +- dlls/wined3d/utils.c | 4 ++-- dlls/winex11.drv/xfont.c | 4 ++-- 11 files changed, 21 insertions(+), 21 deletions(-) diff --git a/dlls/comctl32/pager.c b/dlls/comctl32/pager.c index 2150c43..11a78a9 100644 --- a/dlls/comctl32/pager.c +++ b/dlls/comctl32/pager.c @@ -555,8 +555,8 @@ static INT PAGER_SetFixedWidth(PAGER_INFO* infoPtr) { /* 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 - * size, and experimentation shows that affect is almost right. */ + * so that NCCalcSize is called. The Microsoft docs mention 3/4 factor for button + * size, and experimentation shows that the effect is almost right. */ RECT wndRect; INT delta, h; @@ -586,8 +586,8 @@ static INT PAGER_SetFixedHeight(PAGER_INFO* infoPtr) { /* 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 - * size, and experimentation shows that affect is almost right. */ + * so that NCCalcSize is called. The Microsoft docs mention 3/4 factor for button + * size, and experimentation shows that the effect is almost right. */ RECT wndRect; INT delta, w; diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index 5746928..7b2ef6e 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -4984,7 +4984,7 @@ TOOLBAR_SetRows (HWND hwnd, WPARAM wParam, LPARAM lParam) /* FIXME: Separators make this quite complex */ 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; /* Calculate ideal wrap point if we are allowed to grow, but cannot diff --git a/dlls/kernel32/comm.c b/dlls/kernel32/comm.c index 7986636..9eeed3d 100644 --- a/dlls/kernel32/comm.c +++ b/dlls/kernel32/comm.c @@ -779,7 +779,7 @@ static void dump_dcb(const DCB* lpdcb) * SetCommState (KERNEL32.@) * * 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. * * PARAMS @@ -789,7 +789,7 @@ static void dump_dcb(const DCB* lpdcb) * * 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) { diff --git a/dlls/kernel32/console.c b/dlls/kernel32/console.c index a1e2de6..21ce10a 100644 --- a/dlls/kernel32/console.c +++ b/dlls/kernel32/console.c @@ -1749,8 +1749,8 @@ BOOL WINAPI GenerateConsoleCtrlEvent(DWORD dwCtrlEvent, } SERVER_END_REQ; - /* FIXME: shall this function be synchronous, ie only return when all events - * have been handled by all processes in the given group ? + /* FIXME: Shall this function be synchronous, i.e., only return when all events + * have been handled by all processes in the given group? * As of today, we don't wait... */ return ret; diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index a5dfcf2..ed31798 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -206,7 +206,7 @@ static void COMPOBJ_InitProcess( void ) /* Dispatching to the correct thread in an apartment is done through * window messages rather than RPC transports. When an interface is * 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. * 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 diff --git a/dlls/ole32/stubmanager.c b/dlls/ole32/stubmanager.c index 2243f33..4defe4b 100644 --- a/dlls/ole32/stubmanager.c +++ b/dlls/ole32/stubmanager.c @@ -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.psa = NULL /* FIXME */; - /* yes, that's right, this starts at zero. that's zero EXTERNAL - * refs, ie nobody has unmarshalled anything yet. we can't have + /* Yes, that's right, this starts at zero. that's zero EXTERNAL + * refs, i.e., nobody has unmarshalled anything yet. We can't have * negative refs because the stub manager cannot be explicitly * killed, it has to die by somebody unmarshalling then releasing * the marshalled ifptr. diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index 123810b..d891969 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -2171,7 +2171,7 @@ static ITypeInfoImpl * MSFT_DoTypeInfo( break; case TKIND_DISPATCH: /* 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 not this interface. */ diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 6c16bc3..6fb0d5e 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -175,9 +175,9 @@ glAttribFunc normal_funcs[WINED3DDECLTYPE_UNUSED]; glTexAttribFunc texcoord_funcs[WINED3DDECLTYPE_UNUSED]; /** - * 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 - * function query some info from GL + * Note: GL seems to trap if GetDeviceCaps is called before any HWND's created, + * i.e., there is no GL Context - Get a default rendering context to enable the + * function query some info from GL. */ static int wined3d_fake_gl_context_ref = 0; diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index f7cc085..1c5a97f 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -686,7 +686,7 @@ void shader_generate_glsl_declarations( 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++) { shader_addline(buffer, "int aL%u;\n", i); shader_addline(buffer, "int tmpInt%u;\n", i); diff --git a/dlls/wined3d/utils.c b/dlls/wined3d/utils.c index e267540..e2949dd 100644 --- a/dlls/wined3d/utils.c +++ b/dlls/wined3d/utils.c @@ -1583,11 +1583,11 @@ void set_tex_op(IWineD3DDevice *iface, BOOL isAlpha, int Stage, WINED3DTEXTUREOP the form (a1 a2). However, some of the more complex operations 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 - a0 a1 a2, ie the new parameter goes to the front. + a0 a1 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 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 */ if (isAlpha) { diff --git a/dlls/winex11.drv/xfont.c b/dlls/winex11.drv/xfont.c index 6137be7..8ab323d 100644 --- a/dlls/winex11.drv/xfont.c +++ b/dlls/winex11.drv/xfont.c @@ -1015,7 +1015,7 @@ static BOOL LFD_ComposeLFD( const fontObject* fo, aLFD.charset_encoding = any; break; - case 255: /* no suffix - it ends eg "-ascii" */ + case 255: /* no suffix - it ends, e.g., "-ascii" */ aLFD.charset_encoding = NULL; break; } @@ -1715,7 +1715,7 @@ static LPCSTR XFONT_UnAlias(char* font) XFONT_InitialCapitals(font); /* to remove extra white space */ 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 ) ) { TRACE("found alias '%s'->%s'\n", font, fa->faTypeFace ); -- 1.5.4.3