Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2007-10-23 15:30:30 +02:00 committed by Alexandre Julliard
parent b1335db353
commit c4b1195c0c
30 changed files with 59 additions and 58 deletions

View File

@ -6491,7 +6491,7 @@ static BOOL LISTVIEW_RedrawItems(const LISTVIEW_INFO *infoPtr, INT nFirst, INT n
* be scrolled only in line increments. "dy" will be rounded to the
* nearest number of pixels that are a whole line. Ex: if line height
* is 16 and an 8 is passed, the list will be scrolled by 16. If a 7
* is passed the the scroll will be 0. (per MSDN 7/2002)
* is passed, then the scroll will be 0. (per MSDN 7/2002)
*
* For: (per experimentaion with native control and CSpy ListView)
* LVS_ICON dy=1 = 1 pixel (vertical only)

View File

@ -68,7 +68,7 @@ static ATOM atSubclassProp;
/* Generate a number of subclass window procs.
* With a single proc alone, we can't really reliably find out the superclass,
* so have one for each subclass. The subclass number is also stored in a prop
* since it's needed by THEMING_CallOriginalClass(). Then, the the subclass
* since it's needed by THEMING_CallOriginalClass(). Then, the subclass
* proc and ref data are fetched and the proc called.
*/
#define MAKE_SUBCLASS_PROC(N) \

View File

@ -1987,7 +1987,7 @@ static BOOL PRINTDLG_CreateDCW(LPPRINTDLGW lppd)
/***********************************************************************
* PrintDlgA (COMDLG32.@)
*
* Displays the the PRINT dialog box, which enables the user to specify
* Displays the PRINT dialog box, which enables the user to specify
* specific properties of the print job.
*
* PARAMS
@ -3359,7 +3359,7 @@ PageDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
/***********************************************************************
* PageSetupDlgA (COMDLG32.@)
*
* Displays the the PAGE SETUP dialog box, which enables the user to specify
* Displays the PAGE SETUP dialog box, which enables the user to specify
* specific properties of a printed page such as
* size, source, orientation and the width of the page margins.
*
@ -3584,7 +3584,7 @@ HRESULT WINAPI PrintDlgExA(LPPRINTDLGEXA lpPrintDlgExA)
/***********************************************************************
* PrintDlgExW (COMDLG32.@)
*
* Display the the PRINT dialog box, which enables the user to specify
* Displays the PRINT dialog box, which enables the user to specify
* specific properties of the print job. The property sheet can also have
* additional application-specific and driver-specific property pages.
*

View File

@ -327,7 +327,7 @@ static HGLOBAL16 PRINTDLG_GetDlgTemplate16(const PRINTDLG16 *lppd)
/***********************************************************************
* PrintDlg (COMMDLG.20)
*
* Displays the the PRINT dialog box, which enables the user to specify
* Displays the PRINT dialog box, which enables the user to specify
* specific properties of the print job.
*
* RETURNS

View File

@ -275,7 +275,7 @@ const void *CRYPT_ReadSerializedElement(const BYTE *pbElement,
*/
BOOL CRYPT_ReadSerializedStoreFromFile(HANDLE file, HCERTSTORE store);
/* Fixes up the the pointers in info, where info is assumed to be a
/* Fixes up the pointers in info, where info is assumed to be a
* CRYPT_KEY_PROV_INFO, followed by its container name, provider name, and any
* provider parameters, in a contiguous buffer, but where info's pointers are
* assumed to be invalid. Upon return, info's pointers point to the

View File

@ -5281,14 +5281,14 @@ static HRESULT DirectPlayEnumerateAW(LPDPENUMDPCALLBACKA lpEnumCallbackA,
/* The enumeration will return FALSE if we are not to continue.
*
* Note: on my windows box, major / minor version is 6 / 0 for all service providers
* and have no relations to any of the two dwReserved1 and dwReserved2 keys.
* and have no relation to any of the two dwReserved1 and dwReserved2 keys.
* I think that it simply means that they are in-line with DirectX 6.0
*/
if (lpEnumCallbackA)
{
DWORD sizeOfDescription = 0;
/* Note that this the the A case of this function, so use the A variant to get the description string */
/* Note that this is the A case of this function, so use the A variant to get the description string */
if (RegQueryValueExA(hkServiceProvider, "DescriptionA",
NULL, NULL, NULL, &sizeOfDescription) != ERROR_SUCCESS)
{

View File

@ -639,7 +639,7 @@ static DWORD DSOUND_MixInBuffer(IDirectSoundBufferImpl *dsb, DWORD writepos, DWO
*/
static DWORD DSOUND_MixOne(IDirectSoundBufferImpl *dsb, DWORD writepos, DWORD mixlen)
{
/* The buffer's primary_mixpos may be before or after the the device
/* The buffer's primary_mixpos may be before or after the device
* buffer's mixpos, but both must be ahead of writepos. */
DWORD primary_done;

View File

@ -894,7 +894,7 @@ HRGN WINAPI CreateRoundRectRgn( INT left, INT top,
*
* NOTES
* This is a special case of CreateRoundRectRgn() where the width of the
* ellipse at each corner is equal to the width the the rectangle and
* ellipse at each corner is equal to the width the rectangle and
* the same for the height.
*/
HRGN WINAPI CreateEllipticRgn( INT left, INT top,
@ -919,7 +919,7 @@ HRGN WINAPI CreateEllipticRgn( INT left, INT top,
*
* NOTES
* This is a special case of CreateRoundRectRgn() where the width of the
* ellipse at each corner is equal to the width the the rectangle and
* ellipse at each corner is equal to the width the rectangle and
* the same for the height.
*/
HRGN WINAPI CreateEllipticRgnIndirect( const RECT *rect )

View File

@ -73,7 +73,7 @@ static void ACTION_VerStrToInteger(LPCWSTR verStr, PDWORD ms, PDWORD ls)
*ls = x3 << 16 | x4;
}
/* Fills in sig with the the values from the Signature table, where name is the
/* Fills in sig with the values from the Signature table, where name is the
* signature to find. Upon return, sig->File will be NULL if the record is not
* found, and not NULL if it is found.
* Warning: clears all fields in sig!

View File

@ -315,7 +315,7 @@ FileMonikerImpl_Load(IMoniker* iface, IStream* pStm)
*
* This function saves data of this object. In the beginning I thought
* that I have just to write the filePath string on Stream. But, when I
* tested this function with windows programs samples, I noticed that it
* tested this function with windows program samples, I noticed that it
* was not the case. This implementation is based on XP SP2. Other versions
* of Windows have minor variations.
*
@ -328,7 +328,7 @@ FileMonikerImpl_Load(IMoniker* iface, IStream* pStm)
* 6) If we're only writing the multibyte version,
* write a zero DWORD and finish.
*
* 7) DWORD: double-length of the the path string type W ("\0" not
* 7) DWORD: double-length of the path string type W ("\0" not
* included)
* 8) WORD constant: 0x3
* 9) filePath unicode string.

View File

@ -520,7 +520,7 @@ HRESULT WINAPI DoDragDrop (
msg.message = 0;
/*
* Pump messages. All mouse input should go the the capture window.
* Pump messages. All mouse input should go to the capture window.
*/
while (!trackerInfo.trackingDone && GetMessageA(&msg, 0, 0, 0) )
{

View File

@ -3142,7 +3142,7 @@ static void test_VarRound(void)
VARROUND(DATE,1.451,1,DATE,1.5);
VARROUND(DATE,-1.45,1,DATE,-1.4);
/* replace the decimal seperator */
/* replace the decimal separator */
GetLocaleInfoA(LOCALE_USER_DEFAULT, LOCALE_SDECIMAL, buff, sizeof(buff)/sizeof(char));
if (!buff[1]) {
szNumMin[2] = buff[0];
@ -7889,7 +7889,7 @@ static void test_VarImp(void)
BOOL bFail = FALSE;
SKIPTESTIMP(rightvt);
/* Native crashes using the the extra flag VT_BYREF
/* Native crashes when using the extra flag VT_BYREF
* or with the following VT combinations
*/
if ((leftvt == VT_UI4 && rightvt == VT_BSTR) ||

View File

@ -3076,7 +3076,7 @@ static void SLTG_DoFuncs(char *pBlk, char *pFirstItem, ITypeInfoImpl *pTI,
pointing at an alpha-numeric char. However if *pArg is
0xffff or 0xfffe then the param has no name, the former
meaning that the next WORD is the type, the latter
meaning the the next WORD is an offset to the type. */
meaning that the next WORD is an offset to the type. */
HaveOffs = FALSE;
if(*pArg == 0xffff)

View File

@ -309,8 +309,8 @@ if ($version eq "1.0") {
#
# Open the registry files
#
open(TYPES, "$registry_path/gl.tm") || die "Could not open 'gl.tm'. Please check your path the the registry files.\n";
open(REGISTRY, "$registry_path/gl.spec") || die "Could not open 'gl.spec'. Please check your path the the registry files.\n";
open(TYPES, "$registry_path/gl.tm") || die "Could not open 'gl.tm'. Please check your path in the registry files.\n";
open(REGISTRY, "$registry_path/gl.spec") || die "Could not open 'gl.spec'. Please check your path in the registry files.\n";
#
# First, create a mapping between the pseudo types used in the spec file

View File

@ -961,7 +961,7 @@ struct RTFFont
/*
* Color values are -1 if the default color for the the color
* Color values are -1 if the default color for the color
* number should be used. The default color is writer-dependent.
*/

View File

@ -791,7 +791,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
iTrailing, X);
/*
* Cleanup the the SSA for the next round of tests
* Cleanup the SSA for the next round of tests
*/
hr = ScriptStringFree(&ssa);
ok(hr == S_OK, "ScriptStringFree should return S_OK not %08x\n", hr);

View File

@ -4361,7 +4361,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetTexture(IWineD3DDevice *iface, DWORD
}
/** NOTE: MSDN says that setTexture increases the reference count,
* and the the application must set the texture back to null (or have a leaky application),
* and that the application must set the texture back to null (or have a leaky application),
* This means we should pass the refcount up to the parent
*******************************/
if (NULL != This->updateStateBlock->textures[Stage]) {

View File

@ -90,7 +90,7 @@ DOSASPI_PostProc( SRB_ExecSCSICmd *lpPRB )
ctx.Eip = OFFSETOF(lpSRB16->cmd.SRB_PostProc);
/* DPMI_CallRMProc will push the pointer to the stack
* it is given (in this case &ptrSRB) with length
* 2*sizeof(WORD), that is, it copies the the contents
* 2*sizeof(WORD), that is, it copies the contents
* of ptrSRB onto the stack, and decs sp by 2*sizeof(WORD).
* After doing that, it pushes the return address
* onto the stack (so we don't need to worry about that)

View File

@ -489,7 +489,7 @@ int JACK_callback_wwo (nframes_t nframes, void *arg)
/******************************************************************
* JACK_bufsize_wwo
*
* Called whenever the jack server changes the the max number
* Called whenever the jack server changes the max number
* of frames passed to JACK_callback
*/
int JACK_bufsize_wwo (nframes_t nframes, void *arg)
@ -537,7 +537,7 @@ int JACK_bufsize_wwo (nframes_t nframes, void *arg)
/******************************************************************
* JACK_bufsize_wwi
*
* Called whenever the jack server changes the the max number
* Called whenever the jack server changes the max number
* of frames passed to JACK_callback
*/
int JACK_bufsize_wwi (nframes_t nframes, void *arg)

View File

@ -1190,7 +1190,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
srcbyte+=6;
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
*dstbyte++=(X11DRV_DIB_GetNearestIndex
(colors, 16,
srcbyte[2],
@ -1220,7 +1220,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
srcbyte+=6;
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
*dstbyte++=(X11DRV_DIB_GetNearestIndex
(colors, 16,
srcbyte[0],
@ -1266,7 +1266,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
srcbyte+=8;
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
*dstbyte++=(X11DRV_DIB_GetNearestIndex
(colors, 16,
srcbyte[2],
@ -1296,7 +1296,7 @@ static void X11DRV_DIB_GetImageBits_4( int lines, BYTE *dstbits,
srcbyte+=8;
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
*dstbyte++=(X11DRV_DIB_GetNearestIndex
(colors, 16,
srcbyte[0],

View File

@ -111,7 +111,7 @@ static void convert_555_reverse(int width, int height,
((srcval >> 10) & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 10) & 0x7c00) | /* h */
@ -143,7 +143,7 @@ static void convert_555_to_565_asis(int width, int height,
( srcval & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 1) & 0xffc0) | /* h, g */
@ -176,7 +176,7 @@ static void convert_555_to_565_reverse(int width, int height,
((srcval << 11) & 0xf800f800); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 10) & 0x001f) | /* h */
@ -380,7 +380,7 @@ static void convert_565_reverse(int width, int height,
((srcval >> 11) & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 11) & 0xf800) | /* h */
@ -411,7 +411,7 @@ static void convert_565_to_555_asis(int width, int height,
( srcval & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 1) & 0x7fe0) | /* h, g */
@ -442,7 +442,7 @@ static void convert_565_to_555_reverse(int width, int height,
((srcval << 10) & 0x7c007c00); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 11) & 0x001f) | /* h */

View File

@ -94,7 +94,7 @@ static void convert_555_reverse_dst_byteswap(int width, int height,
((srcval << 2) & 0x007c007c); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 2) & 0x1f00) | /* h */
@ -128,7 +128,7 @@ static void convert_555_to_565_asis_dst_byteswap(int width, int height,
((srcval << 8) & 0x1f001f00); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 7) & 0x00ff) | /* h, g - 3 bits */
@ -163,7 +163,7 @@ static void convert_555_to_565_reverse_dst_byteswap(int width, int height,
((srcval << 3) & 0x00f800f8); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 2) & 0x1f00) | /* h */
@ -441,7 +441,7 @@ static void convert_565_reverse_dst_byteswap(int width, int height,
((srcval << 3) & 0x00f800f8); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 3) & 0x1f00) | /* h */
@ -474,7 +474,7 @@ static void convert_565_to_555_asis_dst_byteswap(int width, int height,
((srcval >> 9) & 0x007f007f); /* h, g - 2 bits */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 7) & 0xe000) | /* g - 3 bits*/
@ -507,7 +507,7 @@ static void convert_565_to_555_reverse_dst_byteswap(int width, int height,
((srcval >> 9) & 0x00030003); /* g - 2 bits */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 7) & 0xe000) | /* g - 3 bits */

View File

@ -96,7 +96,7 @@ static void convert_555_reverse_src_byteswap(int width, int height,
((srcval << 2) & 0x7c007c00); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 2) & 0x001f) | /* h */
@ -130,7 +130,7 @@ static void convert_555_to_565_asis_src_byteswap(int width, int height,
((srcval >> 8) & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 9) & 0xfe00) | /* h, g - 2bits*/
@ -165,7 +165,7 @@ static void convert_555_to_565_reverse_src_byteswap(int width, int height,
((srcval << 3) & 0xf800f800); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 2) & 0x001f) | /* h */
@ -381,7 +381,7 @@ static void convert_565_reverse_src_byteswap(int width, int height,
((srcval >> 3) & 0x001f001f); /* h */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 3) & 0xf800) | /* l */
@ -414,7 +414,7 @@ static void convert_565_to_555_asis_src_byteswap(int width, int height,
((srcval >> 8) & 0x001f001f); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval << 7) & 0x7f80) | /* h, g - 3 bits */
@ -447,7 +447,7 @@ static void convert_565_to_555_reverse_src_byteswap(int width, int height,
((srcval << 2) & 0x7c007c00); /* l */
}
if (width&1) {
/* And the the odd pixel */
/* And then the odd pixel */
WORD srcval;
srcval=*((const WORD*)srcpixel);
*((WORD*)dstpixel)=((srcval >> 3) & 0x001f) | /* h */

View File

@ -436,7 +436,7 @@ static XcursorImage *create_cursor_image( CURSORICONINFO *ptr )
* background color.
*
* Since we can't support inverting colors, we map the grayscale value of
* the "xor" data to the alpha channel, and xor the the color with either
* the "xor" data to the alpha channel, and xor the color with either
* black or white.
*/
for (y = 0; y < ymax; ++y)

View File

@ -1002,7 +1002,7 @@ static BOOL URLCache_CopyEntry(
* URLCache_SetEntryInfo (Internal)
*
* Helper for SetUrlCacheEntryInfo{A,W}. Sets fields in URL entry
* according the the flags set by dwFieldControl.
* according to the flags set by dwFieldControl.
*
* RETURNS
* TRUE if the buffer was big enough

View File

@ -402,7 +402,7 @@ static BOOL is_systray_hidden(void)
return ret;
}
/* this function creates the the listener window */
/* this function creates the listener window */
void initialize_systray(void)
{
WNDCLASSEX class;

View File

@ -70,7 +70,7 @@ static void ApplicationPageUpdate(void)
EnableWindow(hApplicationPageSwitchToButton, FALSE);
}
/* If we are on the applications tab the the windows menu will */
/* If we are on the applications tab, then the windows menu will */
/* be present on the menu bar so enable & disable the menu items */
if (TabCtrl_GetCurSel(hTabWnd) == 0)
{

View File

@ -323,8 +323,8 @@ void GraphCtrl_InvalidateCtrl(TGraphCtrl* this)
(m_rectPlot.bottom+m_rectPlot.top)/2, m_strYUnitsString, _tcslen(m_strYUnitsString));
SelectObject(m_dcGrid, oldFont);
#endif
/* at this point we are done filling the the grid bitmap, */
/* no more drawing to this bitmap is needed until the setting are changed */
/* at this point we are done filling the grid bitmap, */
/* no more drawing to this bitmap is needed until the settings are changed */
/* if we don't have one yet, set up a memory dc for the plot */
if (this->m_dcPlot == NULL)

View File

@ -161,7 +161,7 @@ static BOOL CALLBACK stack_read_mem(HANDLE hProc, DWORD64 addr,
/******************************************************************
* stack_fetch_frames
*
* Do a backtrace on the the current thread
* Do a backtrace on the current thread
*/
unsigned stack_fetch_frames(void)
{
@ -275,7 +275,7 @@ static void stack_print_addr_and_args(int nf)
/******************************************************************
* backtrace
*
* Do a backtrace on the the current thread
* Do a backtrace on the current thread
*/
static void backtrace(void)
{

View File

@ -52,7 +52,8 @@ dump other information from PE files; See the section 'Dumping' below.
Usage
-----
Winedump is a command line tool. For the list of options and the basic usage
see the the winedump(1) man page.
see the winedump(1) man page.
Spec mode: Generating stub DLLs
-------------------------------