Assorted typo, spelling, wording and case fixes.

This commit is contained in:
Francois Gouget 2012-05-15 10:15:32 +02:00 committed by Alexandre Julliard
parent d0579d02cc
commit fac36c55e9
105 changed files with 184 additions and 184 deletions

View File

@ -739,7 +739,7 @@ BOOL WINAPI ReportEventW( HANDLE hEventLog, WORD wType, WORD wCategory, DWORD dw
* GuidCount [I] Number of elements in the TraceGuidReg array
* TraceGuidReg [I/O] Array of TRACE_GUID_REGISTRATION structures
* MofImagePath [I] not supported, set to NULL
* MofResourceNmae [I] not supported, set to NULL
* MofResourceName [I] not supported, set to NULL
* RegistrationHandle [O] Provider's registration handle
*
* RETURNS

View File

@ -184,7 +184,7 @@ static void test_media_streams(void)
hr = IAMMultiMediaStream_Initialize(pams, STREAMTYPE_READ, 0, NULL);
ok(hr == S_OK, "IAMMultiMediaStream_Initialize returned: %x\n", hr);
/* Retreive media stream filter */
/* Retrieve media stream filter */
hr = IAMMultiMediaStream_GetFilter(pams, NULL);
ok(hr == E_POINTER, "IAMMultiMediaStream_GetFilter returned: %x\n", hr);
hr = IAMMultiMediaStream_GetFilter(pams, &media_stream_filter);

View File

@ -590,7 +590,7 @@ static void SetInfoDialogText(HKEY hKey, LPCWSTR lpKeyName, LPCWSTR lpAltMessage
* msg - reason for calling function
* wParam - additional parameter
* lParam - additional parameter
* Returns : Dependant on message
* Returns : Depends on the message
*/
static BOOL CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
@ -820,7 +820,7 @@ static HIMAGELIST ResetApplicationList(BOOL bFirstRun, HWND hWnd, HIMAGELIST hIm
* msg - reason for calling function
* wParam - additional parameter
* lParam - additional parameter
* Returns : Dependant on message
* Returns : Depends on the message
*/
static BOOL CALLBACK MainDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
@ -990,7 +990,7 @@ static LONG start_params(const WCHAR *params)
* message - reason for calling function
* lParam1 - additional parameter
* lParam2 - additional parameter
* Returns : Dependant on message
* Returns : Depends on the message
*/
LONG CALLBACK CPlApplet(HWND hwndCPL, UINT message, LPARAM lParam1, LPARAM lParam2)
{

View File

@ -28,7 +28,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(avifile);
/* reads a chunk outof the extrachunk-structure */
/* reads a chunk out of the extrachunk-structure */
HRESULT ReadExtraChunk(const EXTRACHUNKS *extra,FOURCC ckid,LPVOID lpData,LPLONG size)
{
LPBYTE lp;
@ -98,7 +98,7 @@ HRESULT WriteExtraChunk(LPEXTRACHUNKS extra,FOURCC ckid,LPCVOID lpData, LONG siz
return AVIERR_OK;
}
/* reads a chunk fomr the HMMIO into the extrachunk-structure */
/* reads a chunk from the HMMIO into the extrachunk-structure */
HRESULT ReadChunkIntoExtra(LPEXTRACHUNKS extra,HMMIO hmmio,const MMCKINFO *lpck)
{
LPDWORD lp;

View File

@ -40,7 +40,7 @@ HRESULT ReadExtraChunk(const EXTRACHUNKS *extra,FOURCC ckid,LPVOID lp,LPLONG siz
/* writes a chunk into the extrachunk-structure */
HRESULT WriteExtraChunk(LPEXTRACHUNKS extra,FOURCC ckid,LPCVOID lp,LONG size) DECLSPEC_HIDDEN;
/* reads a chunk fomr the HMMIO into the extrachunk-structure */
/* reads a chunk from the HMMIO into the extrachunk-structure */
HRESULT ReadChunkIntoExtra(LPEXTRACHUNKS extra,HMMIO hmmio,const MMCKINFO *lpck) DECLSPEC_HIDDEN;
/* reads all non-junk chunks into the extrachunk-structure until it finds

View File

@ -160,7 +160,7 @@ static void update_dialog(ProgressDialog *This, DWORD dwUpdate)
static void end_dialog(ProgressDialog *This)
{
SendMessageW(This->hwnd, WM_DLG_DESTROY, 0, 0);
/* native doesn't reenable the window? */
/* native doesn't re-enable the window? */
if (This->hwndDisabledParent)
EnableWindow(This->hwndDisabledParent, TRUE);
This->hwnd = NULL;

View File

@ -143,8 +143,8 @@ DWORD WINAPI GetSize (LPVOID lpMem)
* MRU-Functions {COMCTL32}
*
* NOTES
* The MRU-Api is a set of functions to manipulate lists of M.R.U. (Most Recently
* Used) items. It is an undocumented Api that is used (at least) by the shell
* The MRU-API is a set of functions to manipulate lists of M.R.U. (Most Recently
* Used) items. It is an undocumented API that is used (at least) by the shell
* and explorer to implement their recent documents feature.
*
* Since these functions are undocumented, they are unsupported by MS and

View File

@ -455,7 +455,7 @@ BOOL WINAPI DPA_Grow (HDPA hdpa, INT nGrow)
/**************************************************************************
* DPA_Clone [COMCTL32.331]
*
* Copies a pointer array to an other one or creates a copy
* Copies a pointer array to another one or creates a copy
*
* PARAMS
* hdpa [I] handle (pointer) to the existing (source) pointer array

View File

@ -1186,7 +1186,7 @@ ImageList_Draw (HIMAGELIST himl, INT i, HDC hdc, INT x, INT y, UINT fStyle)
/*************************************************************************
* ImageList_DrawEx [COMCTL32.@]
*
* Draws an image and allows to use extended drawing features.
* Draws an image and allows using extended drawing features.
*
* PARAMS
* himl [I] handle to image list

View File

@ -2399,7 +2399,7 @@ TOOLBAR_CustomizeDialogProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
nmtb.tbButton.iString >= 0 ? debugstr_w(infoPtr->strings[nmtb.tbButton.iString])
: "");
/* insert button into the apropriate list */
/* insert button into the appropriate list */
index = TOOLBAR_GetButtonIndex (custInfo->tbInfo, nmtb.tbButton.idCommand, FALSE);
if (index == -1)
{

View File

@ -171,7 +171,7 @@ typedef struct
#define ICON_HEIGHT 16
#define ICON_WIDTH 16
#define MAX_TEXT_SIZE_A 80 /* maximum retriving text size by ANSI message */
#define MAX_TEXT_SIZE_A 80 /* maximum retrieving text size by ANSI message */
static LRESULT CALLBACK
TOOLTIPS_SubclassProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, UINT_PTR uId, DWORD_PTR dwRef);

View File

@ -1521,7 +1521,7 @@ static LRESULT PRINTDLG_WMInitDialog(HWND hDlg,
}
/* FIXME: I allow more freedom than either Win95 or WinNT,
* which do not agree to what errors should be thrown or not
* which do not agree on what errors should be thrown or not
* in case nToPage or nFromPage is out-of-range.
*/
if (lppd->nMaxPage < lppd->nMinPage)

View File

@ -1888,7 +1888,7 @@ static const struct ID3DXMeshVtbl D3DXMesh_Vtbl =
*/
BOOL WINAPI D3DXBoxBoundProbe(CONST D3DXVECTOR3 *pmin, CONST D3DXVECTOR3 *pmax, CONST D3DXVECTOR3 *prayposition, CONST D3DXVECTOR3 *praydirection)
/* Algorithm taken from the article: An Efficient and Robust Ray-Box Intersection Algoritm
/* Algorithm taken from the article: An Efficient and Robust Ray-Box Intersection Algorithm
Amy Williams University of Utah
Steve Barrus University of Utah
R. Keith Morley University of Utah

View File

@ -178,7 +178,7 @@ static void set_states(ID3DXSpriteImpl *object)
D3DXMATRIX mat;
D3DVIEWPORT9 vp;
/* Miscelaneous stuff */
/* Miscellaneous stuff */
IDirect3DDevice9_SetVertexShader(object->device, NULL);
IDirect3DDevice9_SetPixelShader(object->device, NULL);
IDirect3DDevice9_SetNPatchMode(object->device, 0.0f);

View File

@ -74,9 +74,9 @@ static char empty_bin_file[] = "xof 0302bin 0064";
/* MSZip data is generated with the command "MAKECAB.EXE /D Compress=ON /D CompressionType=MSZip file packed"
* Data in cab is after the filename (null terminated) and the 32-bit checksum:
* size (16-bit), packed_size (16-bit) and compressed data (with leading 16-bit CK signature)
* for each MSZIP chunk whose decompressed size can not exceed 32768 bytes
* Data in x files is preceeding by the size (32-bit) of the decompressed file including the xof header (16 bytes)
* It does not seem possible to generate a MSZip data chunk with no byte, so put just 1 byte here */
* for each MSZIP chunk whose decompressed size cannot exceed 32768 bytes
* Data in x files is preceded by the size (32-bit) of the decompressed file including the xof header (16 bytes)
* It does not seem possible to generate an MSZip data chunk with no byte, so put just 1 byte here */
/* "\n" packed with MSZip => no text */
static char empty_tzip_file[] = "xof 0302tzip0064\x11\x00\x00\x00\x01\x00\x05\x00\x43\x4b\xe3\x02\x00";
/* "\n" packed with MSZip => no token (token are 16-bit and there is only 1 byte) */

View File

@ -332,7 +332,7 @@ static void fetch_module_versioninfo(LPCWSTR filename, VS_FIXEDFILEINFO* ffi)
*
* Add a memory block to be dumped in a minidump
* If rva is non 0, it's the rva in the minidump where has to be stored
* also the rva of the memory block when written (this allows to reference
* also the rva of the memory block when written (this allows us to reference
* a memory block from outside the list of memory blocks).
*/
void minidump_add_memory_block(struct dump_context* dc, ULONG64 base, ULONG size, ULONG rva)
@ -513,7 +513,7 @@ static unsigned dump_modules(struct dump_context* dc, BOOL dump_elf)
}
if (flags_out & ModuleWriteModule)
{
/* fetch CPU dependant module info (like UNWIND_INFO) */
/* fetch CPU dependent module info (like UNWIND_INFO) */
dbghelp_current_cpu->fetch_minidump_module(dc, i, flags_out);
mdModule.BaseOfImage = dc->modules[i].base;

View File

@ -628,7 +628,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
PTS_ABORTIF(ptd, stabs_pts_read_number(ptd, &sz) == -1);
doadd = symt_set_udt_size(ptd->module, sdt, sz);
if (*ptd->ptr == '!') /* C++ inheritence */
if (*ptd->ptr == '!') /* C++ inheritance */
{
long num_classes;
@ -637,7 +637,7 @@ static inline int stabs_pts_read_aggregate(struct ParseTypedefData* ptd,
PTS_ABORTIF(ptd, *ptd->ptr++ != ',');
while (--num_classes >= 0)
{
ptd->ptr += 2; /* skip visibility and inheritence */
ptd->ptr += 2; /* skip visibility and inheritance */
PTS_ABORTIF(ptd, stabs_pts_read_number(ptd, &ofs) == -1);
PTS_ABORTIF(ptd, *ptd->ptr++ != ',');

View File

@ -938,11 +938,11 @@ static void ViewportTest(void)
hr = IDirect3DViewport_QueryInterface(Viewport, &IID_IDirect3DViewport2, (void**) &Viewport2);
ok(hr==D3D_OK, "QueryInterface returned: %x\n", hr);
ok(Viewport2 == (IDirect3DViewport2 *)Viewport, "IDirect3DViewport2 iface diffrent from IDirect3DViewport\n");
ok(Viewport2 == (IDirect3DViewport2 *)Viewport, "IDirect3DViewport2 iface different from IDirect3DViewport\n");
hr = IDirect3DViewport_QueryInterface(Viewport, &IID_IDirect3DViewport3, (void**) &Viewport3);
ok(hr==D3D_OK, "QueryInterface returned: %x\n", hr);
ok(Viewport3 == (IDirect3DViewport3 *)Viewport, "IDirect3DViewport3 iface diffrent from IDirect3DViewport\n");
ok(Viewport3 == (IDirect3DViewport3 *)Viewport, "IDirect3DViewport3 iface different from IDirect3DViewport\n");
IDirect3DViewport3_Release(Viewport3);
vp1_data.dwSize = sizeof(vp1_data);

View File

@ -529,7 +529,7 @@ static HRESULT WINAPI d3d_viewport_LightElements(IDirect3DViewport3 *iface,
/*****************************************************************************
* IDirect3DViewport3::SetBackground
*
* Sets tje background material
* Sets the background material
*
* Params:
* hMat: Handle from a IDirect3DMaterial interface

View File

@ -765,8 +765,8 @@ static HRESULT WINAPI DEVENUM_IEnumMoniker_Skip(IEnumMoniker *iface, ULONG celt)
TRACE("(%p)->(%d)\n", iface, celt);
/* Before incrementing, check if there are any more values to run thru.
Some programs use the Skip() function to get the amount of devices */
/* Before incrementing, check if there are any more values to run through.
Some programs use the Skip() function to get the number of devices */
if(RegQueryInfoKeyW(This->hkey, NULL, NULL, NULL, &subKeys, NULL, NULL, NULL, NULL, NULL, NULL, NULL) != ERROR_SUCCESS)
{
return S_FALSE;

View File

@ -444,10 +444,10 @@ static BOOL CALLBACK EnumJoysticks(
* State: enabled
*
* IDirectInputDevice2_SetProperty(DIPROP_AUTOCENTER) can only be
* executed when devide is released.
* executed when the device is released.
*
* If Executed interactively, user can feel that autocenter is
* only disabled when joystick is acquired.
* only disabled when the joystick is acquired.
*/
diprop_word.diph.dwSize = sizeof(diprop_word);
diprop_word.diph.dwHeaderSize = sizeof(diprop_word.diph);

View File

@ -130,7 +130,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_GetObject (LPDIR
return DMUS_E_LOADER_NOCLASSID;
}
/* OK, first we iterate thru the list of objects we know about; these are either loaded (GetObject, LoadObjectFromFile)
/* OK, first we iterate through the list of objects we know about; these are either loaded (GetObject, LoadObjectFromFile)
or set via SetObject; */
TRACE(": looking if we have object in the cache or if it can be found via alias\n");
LIST_FOR_EACH(pEntry, This->pObjects) {
@ -563,8 +563,8 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_CacheObject (LPD
DM_STRUCT_INIT(&Desc);
IDirectMusicObject_GetDescriptor (pObject, &Desc);
/* now iterate thru list and check if we have alias (without object), corresponding
to descriptor of input object */
/* now iterate through the list and check if we have an alias (without object), corresponding
to the descriptor of the input object */
LIST_FOR_EACH(pEntry, This->pObjects) {
pObjectEntry = LIST_ENTRY(pEntry, WINE_LOADER_ENTRY, entry);
if ((Desc.dwValidData & DMUS_OBJ_OBJECT) &&
@ -645,7 +645,7 @@ static HRESULT WINAPI IDirectMusicLoaderImpl_IDirectMusicLoader_ReleaseObject (L
DM_STRUCT_INIT(&Desc);
IDirectMusicObject_GetDescriptor (pObject, &Desc);
/* iterate thru the list of objects we know about; check only those with DMUS_OBJ_LOADED */
/* iterate through the list of objects we know about; check only those with DMUS_OBJ_LOADED */
TRACE(": looking for the object in cache\n");
LIST_FOR_EACH(pEntry, This->pObjects) {
pObjectEntry = LIST_ENTRY(pEntry, WINE_LOADER_ENTRY, entry);

View File

@ -930,7 +930,7 @@ static HRESULT WINAPI GameStatisticsImpl_SetStatistic(
value, dwValueLen+1);
}
else
/* Windows allows to pass NULL as value */
/* Windows allows passing NULL as value */
This->stats.categories[categoryIndex].stats[statIndex].sValue[0] = 0;
return hr;

View File

@ -473,7 +473,7 @@ static const int padding[4] = {0, 3, 2, 1};
/***********************************************************************
* get_glyph_bitmap
*
* Retrieve a 17-level bitmap for the appropiate glyph.
* Retrieve a 17-level bitmap for the appropriate glyph.
*
* For non-antialiased bitmaps convert them to the 17-level format
* using only values 0 or 16.

View File

@ -214,7 +214,7 @@ INT16 MFDRV_CreateBrushIndirect(PHYSDEV dev, HBRUSH hBrush )
}
default:
FIXME("Unkonwn brush style %x\n", logbrush.lbStyle);
FIXME("Unknown brush style %x\n", logbrush.lbStyle);
return 0;
}
r = MFDRV_WriteRecord( dev, mr, mr->rdSize * 2);

View File

@ -155,7 +155,7 @@ static BOOL flatten_bezier(path_list_node_t *start, REAL x2, REAL y2, REAL x3, R
if(!(node = add_path_list_node(start, mp[2].X, mp[2].Y, PathPointTypeLine)))
return FALSE;
/* do the same with halfs */
/* do the same with halves */
flatten_bezier(start, mp[0].X, mp[0].Y, mp[1].X, mp[1].Y, node, flatness);
flatten_bezier(node, mp[3].X, mp[3].Y, mp[4].X, mp[4].Y, end, flatness);

View File

@ -212,7 +212,7 @@ LPWSTR FindContextAlias(CHMInfo *chm, DWORD index)
}
/*
* Tests if the file <chmfile>.<ext> exists, used for loading Indicies, Table of Contents, etc.
* Tests if the file <chmfile>.<ext> exists, used for loading Indices, Table of Contents, etc.
* when these files are not available from the HH_WINTYPE structure.
*/
static WCHAR *FindHTMLHelpSetting(HHInfo *info, const WCHAR *extW)

View File

@ -503,7 +503,7 @@ static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
TRACE("(%p)->(%d)\n", This, dwSaveOption);
if(dwSaveOption != OLECLOSE_NOSAVE) {
FIXME("unimplemnted flag: %x\n", dwSaveOption);
FIXME("unimplemented flag: %x\n", dwSaveOption);
return E_NOTIMPL;
}

View File

@ -548,7 +548,7 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd->dwFormatTagIndex = 1; /* WAVE_FORMAT_IMA_ADPCM is bigger than PCM */
break;
}
/* fall thru */
/* fall through */
case ACM_FORMATTAGDETAILSF_FORMATTAG:
switch (aftd->dwFormatTag)
{

View File

@ -2676,7 +2676,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
result = NULL;
break;
}
/* else false thru... */
/* else fall through... */
case REOP_ALT:
doAlt:

View File

@ -275,8 +275,8 @@ BOOL WINAPI UnregisterWaitEx( HANDLE WaitHandle, HANDLE CompletionEvent )
/***********************************************************************
* SignalObjectAndWait (KERNEL32.@)
*
* Allows to atomically signal any of the synchro objects (semaphore,
* mutex, event) and wait on another.
* Makes it possible to atomically signal any of the synchronization
* objects (semaphore, mutex, event) and wait on another.
*/
DWORD WINAPI SignalObjectAndWait( HANDLE hObjectToSignal, HANDLE hObjectToWaitOn,
DWORD dwMilliseconds, BOOL bAlertable )

View File

@ -1168,7 +1168,7 @@ static void test_WaitRx(HANDLE hcom)
}
/* Change the controling line after the given timeout to the given state
/* Change the controlling line after the given timeout to the given state
By the loopback, this should trigger the WaitCommEvent
*/
static DWORD CALLBACK toggle_ctlLine(LPVOID arg)

View File

@ -1031,7 +1031,7 @@ static void test_OpenCON(void)
h = CreateFileW(conW, GENERIC_READ, 0, NULL, accesses[i], 0, NULL);
/* Windows versions differ here:
* MSDN states in CreateFile that TRUNCATE_EXISTING requires GENERIC_WRITE
* NT, XP, Vista comply, but Win7 doesn't and allows to open CON with TRUNCATE_EXISTING
* NT, XP, Vista comply, but Win7 doesn't and allows opening CON with TRUNCATE_EXISTING
* So don't test when disposition is TRUNCATE_EXISTING
*/
if (accesses[i] != TRUNCATE_EXISTING)

View File

@ -125,7 +125,7 @@ static void test_GetDiskFreeSpaceA(void)
"GetDiskFreeSpaceA(%s): ret=%d GetLastError=%d\n",
drive, ret, GetLastError());
if( GetVersion() & 0x80000000)
/* win3.0 thru winME */
/* win3.0 through winME */
ok( total_clusters <= 65535,
"total clusters is %d > 65535\n", total_clusters);
else if (pGetDiskFreeSpaceExA) {

View File

@ -1087,7 +1087,7 @@ static BOOL INT21_CreateFile( CONTEXT *context,
{
winHandle = CreateFileW( pathW, winAccess, winSharing, NULL,
winMode, winAttributes, 0 );
/* DOS allows to open files on a CDROM R/W */
/* DOS allows opening files on a CDROM R/W */
if( winHandle == INVALID_HANDLE_VALUE &&
(GetLastError() == ERROR_WRITE_PROTECT ||
GetLastError() == ERROR_ACCESS_DENIED)) {

View File

@ -1608,7 +1608,7 @@ static void VGA_Poll_Graphics(void)
WORD off = 0;
BYTE bits = 6;
BYTE value;
/* Go thru rows */
/* Iterate over the rows */
for(Y=0; Y<vga_fb_height; Y++, surf+=(Pitch*2)){
for(X=0; X<vga_fb_width; X++){
off = Y & 1 ? (8 * 1024) : 0;

View File

@ -1868,7 +1868,7 @@ static HRESULT WINAPI IPropData_fnSetProps(LPPROPDATA iface, ULONG ulValues, LPS
* errors that occurred.
* Failure: MAPI_E_INVALID_PARAMETER, if any parameter is invalid.
* E_ACCESSDENIED, if this object was created using CreateIProp() and
* a subsequent call to IPropData_SetObjAcess() was made specifying
* a subsequent call to IPropData_SetObjAccess() was made specifying
* IPROP_READONLY as the access type.
*
* NOTES

View File

@ -1302,7 +1302,7 @@ static void test_IProp(void)
/* Set access to read and write */
sc = IPropData_HrSetObjAccess(lpIProp, IPROP_READWRITE);
ok(sc == S_OK, "SetObjAcess(WRITE): Expected S_OK got 0x%08X\n", sc);
ok(sc == S_OK, "SetObjAccess(WRITE): Expected S_OK got 0x%08X\n", sc);
tags.cValues = 1;
tags.aulPropTag[0] = PR_IMPORTANCE;
@ -1311,31 +1311,31 @@ static void test_IProp(void)
access[0] = 0;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == MAPI_E_INVALID_PARAMETER,
"SetPropAcess(0): Expected INVALID_PARAMETER got 0x%08X\n",sc);
"SetPropAccess(0): Expected INVALID_PARAMETER got 0x%08X\n",sc);
access[0] = IPROP_READWRITE;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == MAPI_E_INVALID_PARAMETER,
"SetPropAcess(RW): Expected INVALID_PARAMETER got 0x%08X\n",sc);
"SetPropAccess(RW): Expected INVALID_PARAMETER got 0x%08X\n",sc);
access[0] = IPROP_CLEAN;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == MAPI_E_INVALID_PARAMETER,
"SetPropAcess(C): Expected INVALID_PARAMETER got 0x%08X\n",sc);
"SetPropAccess(C): Expected INVALID_PARAMETER got 0x%08X\n",sc);
/* Set item access to read/write/clean */
tags.cValues = 1;
tags.aulPropTag[0] = PR_IMPORTANCE;
access[0] = IPROP_READWRITE|IPROP_CLEAN;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == S_OK, "SetPropAcess(RW/C): Expected S_OK got 0x%08X\n",sc);
ok(sc == S_OK, "SetPropAccess(RW/C): Expected S_OK got 0x%08X\n",sc);
/* Set object access to read only */
sc = IPropData_HrSetObjAccess(lpIProp, IPROP_READONLY);
ok(sc == S_OK, "SetObjAcess(READ): Expected S_OK got 0x%08X\n", sc);
ok(sc == S_OK, "SetObjAccess(READ): Expected S_OK got 0x%08X\n", sc);
/* Set item access to read/write/dirty - doesn't care about RO object */
access[0] = IPROP_READONLY|IPROP_DIRTY;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == S_OK, "SetPropAcess(WRITE): Expected S_OK got 0x%08X\n", sc);
ok(sc == S_OK, "SetPropAccess(WRITE): Expected S_OK got 0x%08X\n", sc);
/* Delete any item when set to read only - Error */
lpProbs = NULL;
@ -1347,7 +1347,7 @@ static void test_IProp(void)
/* Set access to read and write */
sc = IPropData_HrSetObjAccess(lpIProp, IPROP_READWRITE);
ok(sc == S_OK, "SetObjAcess(WRITE): Expected S_OK got 0x%08X\n", sc);
ok(sc == S_OK, "SetObjAccess(WRITE): Expected S_OK got 0x%08X\n", sc);
/* Delete nonexistent item - No error */
lpProbs = NULL;
@ -1401,7 +1401,7 @@ static void test_IProp(void)
/* Set item to r/w again */
access[0] = IPROP_READWRITE|IPROP_DIRTY;
sc = IPropData_HrSetPropAccess(lpIProp, (LPSPropTagArray)&tags, access);
ok(sc == S_OK, "SetPropAcess(WRITE): Expected S_OK got 0x%08X\n", sc);
ok(sc == S_OK, "SetPropAccess(WRITE): Expected S_OK got 0x%08X\n", sc);
/* Delete existing item (r/w) - No error, no problems */
lpProbs = NULL;

View File

@ -378,7 +378,7 @@ static LRESULT ADPCM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd->dwFormatTagIndex = 1; /* WAVE_FORMAT_ADPCM is bigger than PCM */
break;
}
/* fall thru */
/* fall through */
case ACM_FORMATTAGDETAILSF_FORMATTAG:
switch (aftd->dwFormatTag)
{

View File

@ -695,7 +695,7 @@ static LRESULT G711_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd->dwFormatTagIndex = 1;
break;
}
/* fall thru */
/* fall through */
case ACM_FORMATTAGDETAILSF_FORMATTAG:
switch (aftd->dwFormatTag)
{

View File

@ -221,7 +221,7 @@ static LRESULT GSM_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd->dwFormatTagIndex = 1;
break;
}
/* fall thru */
/* fall through */
case ACM_FORMATTAGDETAILSF_FORMATTAG:
switch (aftd->dwFormatTag)
{

View File

@ -2509,7 +2509,7 @@ static HRESULT HTMLWindow_invoke(DispatchEx *dispex, DISPID id, LCID lcid, WORD
return IDispatchEx_InvokeEx(&This->dispex.IDispatchEx_iface, dispex_id, 0, flags, params, res, ei, caller);
}
default:
FIXME("Not suppoted flags: %x\n", flags);
FIXME("Not supported flags: %x\n", flags);
return E_NOTIMPL;
}
case GLOBAL_DISPEXVAR:

View File

@ -266,7 +266,7 @@ int sqliteGetToken(const WCHAR *z, int *tokenType, int *skip){
*tokenType = TK_DOT;
return 1;
}
/* Fall thru into the next case */
/* Fall through */
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
*tokenType = TK_INTEGER;

View File

@ -269,7 +269,7 @@ static char* str_printf(struct parsed_symbol* sym, const char* format, ...)
{
case 's': t = va_arg(args, char*); if (t) len += strlen(t); break;
case 'c': (void)va_arg(args, int); len++; break;
default: i--; /* fall thru */
default: i--; /* fall through */
case '%': len++; break;
}
}
@ -296,7 +296,7 @@ static char* str_printf(struct parsed_symbol* sym, const char* format, ...)
case 'c':
*p++ = (char)va_arg(args, int);
break;
default: i--; /* fall thru */
default: i--; /* fall through */
case '%': *p++ = '%'; break;
}
}

View File

@ -185,7 +185,7 @@ static const char *event_names[EVENT_LAST] = {
"endElement",
"characters",
"ignorableWhitespace",
"processingIntruction",
"processingInstruction",
"skippedEntity",
"error",
"fatalError",

View File

@ -49,7 +49,7 @@ typedef struct _NetBIOSSession
* is not NULL, the adapter is considered valid. (transport is a pointer to
* an entry in a NetBIOSTransportTableEntry.) data has data for the callers of
* NetBIOSEnumAdapters to be able to see. The lana is repeated there, even
* though I don't use it internally--it's for transports to use reenabling
* though I don't use it internally--it's for transports to use re-enabling
* adapters using NetBIOSEnableAdapter.
*/
typedef struct _NetBIOSAdapter

View File

@ -54,7 +54,7 @@ BOOL NetBIOSRegisterTransport(ULONG id, struct _NetBIOSTransport *transport) DEC
BOOL NetBIOSRegisterAdapter(ULONG transport, DWORD ifIndex, void *adapter) DECLSPEC_HIDDEN;
/* During enumeration, all adapters from your transport are disabled
* internally. If an adapter is still valid, reenable it with this function.
* internally. If an adapter is still valid, re-enable it with this function.
* Adapters you don't enable will have their transport's NetBIOSCleanupAdapter
* function (see below) called on them, and will be removed from the table.
* (This is to deal with lack of plug-and-play--sorry.)

View File

@ -656,7 +656,7 @@ static ULONG get_full_path_helper(LPCWSTR name, LPWSTR buffer, ULONG size)
* (this seems also to be the only spot in RtlGetFullPathName that the
* existence of a part of a path is checked)
*/
/* fall thru */
/* fall through */
case STATUS_BUFFER_TOO_SMALL:
reqsize = val.Length + sizeof(WCHAR); /* append trailing '\\' */
val.Buffer[val.Length / sizeof(WCHAR)] = '\\';

View File

@ -900,7 +900,7 @@ static struct timer_queue *get_timer_queue(HANDLE TimerQueue)
* after the first callback. If zero, the timer will only
* fire once. It still needs to be deleted with
* RtlDeleteTimer.
* Flags [I] Flags controling the execution of the callback. In
* Flags [I] Flags controlling the execution of the callback. In
* addition to the WT_* thread pool flags (see
* RtlQueueWorkItem), WT_EXECUTEINTIMERTHREAD and
* WT_EXECUTEONLYONCE are supported.

View File

@ -51,8 +51,8 @@ WINE_DECLARE_DEBUG_CHANNEL(heap);
* string type in ole automation. When encapsulated in a Variant type they are
* automatically copied and destroyed as the variant is processed.
*
* The low level BSTR Api allows manipulation of these strings and is used by
* higher level Api calls to manage the strings transparently to the caller.
* The low level BSTR API allows manipulation of these strings and is used by
* higher level API calls to manage the strings transparently to the caller.
*
* Internally the BSTR type is allocated with space for a DWORD byte count before
* the string data begins. This is undocumented and non-system code should not

View File

@ -2817,7 +2817,7 @@ HRESULT WINAPI VarCmp(LPVARIANT left, LPVARIANT right, LCID lcid, DWORD flags)
if (xmask == VTBIT_BSTR)
return VarBstrCmp(V_BSTR(left), V_BSTR(right), lcid, flags);
/* A BSTR and an other variant; we have to take care of VT_RESERVED */
/* A BSTR and another variant; we have to take care of VT_RESERVED */
if (xmask & VTBIT_BSTR) {
VARIANT *bstrv, *nonbv;
VARTYPE nonbvt;

View File

@ -180,7 +180,7 @@ static HRESULT WINAPI ACMWrapper_Receive(TransformFilter *tf, IMediaSample *pSam
hr = IMediaSample_SetActualDataLength(pOutSample, ash.cbDstLengthUsed);
assert(hr == S_OK);
/* Bug in acm codecs? It apparantly uses the input, but doesn't necessarily output immediately kl*/
/* Bug in acm codecs? It apparently uses the input, but doesn't necessarily output immediately */
if (!ash.cbSrcLengthUsed)
{
WARN("Sample was skipped? Outputted: %u\n", ash.cbDstLengthUsed);

View File

@ -399,7 +399,7 @@ static HRESULT AVISplitter_Sample(LPVOID iface, IMediaSample * pSample, DWORD_PT
return S_OK;
}
/* Send the sample to whatever thread is appropiate
/* Send the sample to whatever thread is appropriate
* That thread should also not have a sample queued at the moment
*/
/* Debugging */

View File

@ -25,7 +25,7 @@
* configured. This is documented at http://www.virtualplastic.net/html/ui_shell.html
* You can also google for a tool called "ShellObjectEditor" by "Tropical
* Technologies". This mechanism would be cool for wine, since we could
* map Gnome's virtual devices to FolderShortcuts and have them appear in the
* map GNOME's virtual devices to FolderShortcuts and have them appear in the
* file dialogs. These unit tests are meant to document how this mechanism
* works on windows.
*

View File

@ -46,7 +46,7 @@
*
* With the introduction of the 'shell' in win32, Microsoft established an
* abstraction layer on top of the filesystem, called the shell namespace (I was
* told that Gnome's virtual filesystem is conceptually similar). In the shell
* told that GNOME's virtual filesystem is conceptually similar). In the shell
* namespace, one doesn't use ascii- or unicode-strings to uniquely identify
* objects. Instead Microsoft introduced item-identifier-lists (The c type is
* called ITEMIDLIST) as an abstraction of path-names. As you probably would

View File

@ -115,7 +115,7 @@ HRESULT WINAPI AssocCreate(CLSID clsid, REFIID refiid, void **lpInterface)
*
* RETURNS
* Success: S_OK. lpType and lpFlag contain the perceived type and
* its informations. If lppszType is not NULL, it will point
* its information. If lppszType is not NULL, it will point
* to a string with perceived type text.
* Failure: An HRESULT error code indicating the error.
*

View File

@ -1334,7 +1334,7 @@ HRESULT WINAPI IUnknown_GetWindow(IUnknown *lpUnknown, HWND *lphWnd)
if (SUCCEEDED(hRet))
{
/* Lazyness here - Since GetWindow() is the first method for the above 3
/* Laziness here - Since GetWindow() is the first method for the above 3
* interfaces, we use the same call for them all.
*/
hRet = IOleWindow_GetWindow((IOleWindow*)lpOle, lphWnd);

View File

@ -36,7 +36,7 @@ DECLSPEC_HIDDEN DWORD SHLWAPI_ThreadRef_index = TLS_OUT_OF_INDEXES;
/*************************************************************************
* SHLWAPI {SHLWAPI}
*
* The Shell Light-Weight Api dll provides a large number of utility functions
* The Shell Light-Weight API dll provides a large number of utility functions
* which are commonly required by Win32 programs. Originally distributed with
* Internet Explorer as a free download, it became a core part of Windows when
* Internet Explorer was 'integrated' into the O/S with the release of Win98.

View File

@ -357,7 +357,7 @@ static void test_GetAcceptLanguagesA(void)
buffer[maxlen] = 0;
hr = pGetAcceptLanguagesA( buffer, &len);
/* When the buffer is too small, win7_32 and w2k8_64 and above fail with
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), other versions suceed
HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER), other versions succeed
and return a partial 0 terminated result while other versions
fail with E_INVALIDARG and return a partial unterminated result */
ok( (((hr == S_OK) || (hr == E_INVALIDARG)) && !memcmp(buffer, language, len)) ||

View File

@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(ole);
* This dll is the 16 bit version of the Typelib API, part the original
* implementation of Ole automation. It and its companion ole2disp.dll were
* superseded by oleaut32.dll which provides 32 bit implementations of these
* functions and greatly extends the Ole Api.
* functions and greatly extends the OLE API.
*
* Winelib developers cannot use these functions directly, they are implemented
* solely for backwards compatibility with existing legacy applications.

View File

@ -890,7 +890,7 @@ LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd, UINT1
break; /* atom, nothing to do */
case 3:
MESSAGE("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
/* fall thru */
/* fall through */
case 2:
hi = convert_handle_16_to_32(hi, GMEM_DDESHARE);
break;
@ -1270,7 +1270,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
break; /* atom, nothing to do */
case 3:
MESSAGE("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
/* fall thru */
/* fall through */
case 2:
hi = convert_handle_32_to_16(hi, GMEM_DDESHARE);
break;

View File

@ -1526,7 +1526,7 @@ HDDEDATA WDML_Global2DataHandle(WDML_CONV* pConv, HGLOBAL hMem, WINE_DDEH
default:
FIXME("Unsupported format (%04x) for data %p, passing raw information\n",
pDd->cfFormat, hMem);
/* fall thru */
/* fall through */
case 0:
case CF_TEXT:
ret = DdeCreateDataHandle(pConv->instance->instanceID, pDd->Value, size, 0, 0, pDd->cfFormat, 0);
@ -1585,7 +1585,7 @@ HGLOBAL WDML_DataHandle2Global(HDDEDATA hDdeData, BOOL fResponse, BOOL fRelease,
default:
FIXME("Unsupported format (%04x) for data %p, passing raw information\n",
pDdh->cfFormat, hDdeData);
/* fall thru */
/* fall through */
case 0:
case CF_TEXT:
hMem = GlobalAlloc(GMEM_MOVEABLE | GMEM_DDESHARE, sizeof(WINE_DDEHEAD) + dwSize);

View File

@ -72,9 +72,9 @@
* be to provide a new protocol in the case were both partners are handled by DDEML.
*
* The StringHandles are in fact stored as local atoms. So an HSZ and a (local) atom
* can be used interchangably. However, in order to keep track of the allocated HSZ,
* can be used interchangeably. However, in order to keep track of the allocated HSZ,
* and to free them upon instance termination, all HSZ are stored in a link list.
* When the HSZ need to be passed thru DDE messages, we need to convert them back and
* When the HSZ need to be passed through DDE messages, we need to convert them back and
* forth to global atoms.
*/
@ -145,7 +145,7 @@ typedef struct tagWDML_LINK {
struct tagWDML_LINK* next; /* to link all the active links */
HCONV hConv; /* to get back to the conversation */
UINT transactionType;/* 0 for no link */
HSZ hszItem; /* item targetted for (hot/warm) link */
HSZ hszItem; /* item targeted for (hot/warm) link */
UINT uFmt; /* format for data */
} WDML_LINK;

View File

@ -268,11 +268,11 @@ static inline UINT get_text_length(EDITSTATE *es)
* EDIT_WordBreakProc
*
* Find the beginning of words.
* Note: unlike the specs for a WordBreakProc, this function only
* allows to be called without linebreaks between s[0] up to
* Note: unlike the specs for a WordBreakProc, this function can
* only be called without linebreaks between s[0] up to
* s[count - 1]. Remember it is only called
* internally, so we can decide this for ourselves.
* Additional we will always be breaking the full string.
* Additionally we will always be breaking the full string.
*
*/
static INT EDIT_WordBreakProc(EDITSTATE *es, LPWSTR s, INT index, INT count, INT action)

View File

@ -1039,7 +1039,7 @@ static void MENU_CalcItemSize( HDC hdc, MENUITEM *lpitem, HWND hwndOwner,
mis.itemHeight = ODitemheight;
mis.itemWidth = 0;
SendMessageW( hwndOwner, WM_MEASUREITEM, 0, (LPARAM)&mis );
/* Tests reveal that Windows ( Win95 thru WinXP) adds twice the average
/* Tests reveal that Windows ( Win95 through WinXP) adds twice the average
* width of a menufont character to the width of an owner-drawn menu.
*/
lpitem->rect.right += mis.itemWidth + 2 * menucharsize.cx;

View File

@ -375,7 +375,7 @@ todo_wine
ret = EnableScrollBar( hwnd, SB_HORZ, ESB_ENABLE_BOTH);
ok( !ret, "Horizontal window scroll bar was not enabled\n");
DestroyWindow( hwnd);
/* finally, check if adding a WS_[HV]SColl style of a window makes the scroll info
/* finally, check if adding a WS_[HV]SCROLL style of a window makes the scroll info
* available */
if( style & (WS_HSCROLL | WS_VSCROLL)) return;/* only test if not yet set */
/* Start with a clean window */

View File

@ -1876,7 +1876,7 @@ static void ContextualShape_Bengali(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *
input = HeapAlloc(GetProcessHeap(), 0, (cChars * 2) * sizeof(WCHAR));
memcpy(input, pwcChars, cChars * sizeof(WCHAR));
/* Step 1: Decompose Vowels and Compose Consonents */
/* Step 1: Decompose Vowels and Compose Consonants */
DecomposeVowels(hdc, input, &cCount, Bengali_vowels, pwLogClust, cChars);
ComposeConsonants(hdc, input, &cCount, Bengali_consonants, pwLogClust);
TRACE("New composed string %s (%i)\n",debugstr_wn(input,cCount),cCount);
@ -1940,7 +1940,7 @@ static void ContextualShape_Gurmukhi(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS
input = HeapAlloc(GetProcessHeap(), 0, cChars * sizeof(WCHAR));
memcpy(input, pwcChars, cChars * sizeof(WCHAR));
/* Step 1: Compose Consonents */
/* Step 1: Compose Consonants */
ComposeConsonants(hdc, input, &cCount, Gurmukhi_consonants, pwLogClust);
TRACE("New composed string %s (%i)\n",debugstr_wn(input,cCount),cCount);
@ -2035,7 +2035,7 @@ static void ContextualShape_Oriya(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *ps
input = HeapAlloc(GetProcessHeap(), 0, (cChars*2) * sizeof(WCHAR));
memcpy(input, pwcChars, cChars * sizeof(WCHAR));
/* Step 1: Decompose Vowels and Compose Consonents */
/* Step 1: Decompose Vowels and Compose Consonants */
DecomposeVowels(hdc, input, &cCount, Oriya_vowels, pwLogClust, cChars);
ComposeConsonants(hdc, input, &cCount, Oriya_consonants, pwLogClust);
TRACE("New composed string %s (%i)\n",debugstr_wn(input,cCount),cCount);
@ -2085,7 +2085,7 @@ static void ContextualShape_Tamil(HDC hdc, ScriptCache *psc, SCRIPT_ANALYSIS *ps
input = HeapAlloc(GetProcessHeap(), 0, (cChars*2) * sizeof(WCHAR));
memcpy(input, pwcChars, cChars * sizeof(WCHAR));
/* Step 1: Decompose Vowels and Compose Consonents */
/* Step 1: Decompose Vowels and Compose Consonants */
DecomposeVowels(hdc, input, &cCount, Tamil_vowels, pwLogClust, cChars);
ComposeConsonants(hdc, input, &cCount, Tamil_consonants, pwLogClust);
TRACE("New composed string %s (%i)\n",debugstr_wn(input,cCount),cCount);

View File

@ -2433,7 +2433,7 @@ static void test_ScriptStringXtoCP_CPtoX(HDC hdc)
else
ok(lead < trail, "Trailing values should be after leading for ltr characters(%i)\n",Cp);
/* move by 1 pixel so that we are not inbetween 2 characters. That could result in being the lead of a rtl and
/* move by 1 pixel so that we are not between 2 characters. That could result in being the lead of a rtl and
at the same time the trail of an ltr */
/* inside the leading edge */

View File

@ -2084,7 +2084,7 @@ static HRESULT SS_ItemOut( SCRIPT_STRING_ANALYSIS ssa,
* ssa [I] buffer to hold the analysed string components
* iX [I] X axis displacement for output
* iY [I] Y axis displacement for output
* uOptions [I] flags controling output processing
* uOptions [I] flags controlling output processing
* prc [I] rectangle coordinates
* iMinSel [I] starting pos for substringing output string
* iMaxSel [I] ending pos for substringing output string

View File

@ -1385,7 +1385,7 @@ static HRESULT WINAPI AudioClient_GetStreamLatency(IAudioClient *iface,
return AUDCLNT_E_NOT_INITIALIZED;
}
/* Hide some frames in the ALSA buffer. Allows to return GetCurrentPadding=0
/* Hide some frames in the ALSA buffer. Allows us to return GetCurrentPadding=0
* yet have enough data left to play (as if it were in native's mixer). Add:
* + mmdevapi_period such that at the end of it, ALSA still has data;
* + EXTRA_SAFE (~4ms) to allow for late callback invocation / fluctuation;

View File

@ -408,10 +408,10 @@ static DWORD MIDIOut_LongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
/* FIXME: MS doc is not 100% clear. Will lpData only contain system exclusive
* data, or can it also contain raw MIDI data, to be split up and sent to
* modShortData() ?
* If the latest is true, then the following WARNing will fire up
* If the latter is true, then the following WARNing will fire up
*/
if (lpData[0] != 0xF0 || lpData[lpMidiHdr->dwBufferLength - 1] != 0xF7) {
WARN("Alledged system exclusive buffer is not correct\n\tPlease report with MIDI file\n");
WARN("The allegedly system exclusive buffer is not correct\n\tPlease report with MIDI file\n");
}
TRACE("dwBufferLength=%u !\n", lpMidiHdr->dwBufferLength);

View File

@ -6396,7 +6396,7 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
desc = new_desc;
}
/* Now activate the replacement program. GL_FRAGMENT_PROGRAM_ARB is already active(however, note the
/* Now activate the replacement program. GL_FRAGMENT_PROGRAM_ARB is already active (however, note the
* comment above the shader_select call below). If e.g. GLSL is active, the shader_select call will
* deactivate it.
*/
@ -6421,13 +6421,13 @@ static void fragment_prog_arbfp(struct wined3d_context *context, const struct wi
}
/* Finally, select the shader. If a pixel shader is used, it will be set and enabled by the shader backend.
* If this shader backend is arbfp(most likely), then it will simply overwrite the last fixed function replace-
* ment shader. If the shader backend is not ARB, it currently is important that the opengl implementation
* If this shader backend is arbfp(most likely), then it will simply overwrite the last fixed function
* replacement shader. If the shader backend is not ARB, it currently is important that the opengl implementation
* type overwrites GL_ARB_fragment_program. This is currently the case with GLSL. If we really want to use
* atifs or nvrc pixel shaders with arb fragment programs we'd have to disable GL_FRAGMENT_PROGRAM_ARB here
*
* Don't call shader_select if the vertex shader is dirty, because it will be called later on by the vertex
* shader handler
* shader handler.
*/
if (!isStateDirty(context, context->state_table[STATE_VSHADER].representative))
{
@ -7079,7 +7079,7 @@ static GLuint gen_yuv_shader(struct arbfp_blit_priv *priv, const struct wined3d_
* regardless of the filtering setting. Vertical filtering works automatically
* though - the U and V values of two rows are mixed nicely.
*
* Appart of avoiding filtering issues, the code has to know which value it just
* Apart of avoiding filtering issues, the code has to know which value it just
* read, and where it can find the other one. To determine this, it checks if
* it sampled an even or odd pixel, and shifts the 2nd read accordingly.
*

View File

@ -1060,7 +1060,7 @@ static void create_dummy_textures(struct wined3d_device *device, struct wined3d_
if (gl_info->supported[APPLE_CLIENT_STORAGE])
{
/* Reenable because if supported it is enabled by default */
/* Re-enable because if supported it is enabled by default */
glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_TRUE);
checkGLcall("glPixelStorei(GL_UNPACK_CLIENT_STORAGE_APPLE, GL_TRUE)");
}

View File

@ -825,7 +825,7 @@ static void quirk_no_np2(struct wined3d_gl_info *gl_info)
*
* Note that wine_normalized_texrect can't be used in this case because internally it uses ARB_tex_npot,
* triggering the software fallback. There is not much we can do here apart from disabling the
* software-emulated extension and reenable ARB_tex_rect (which was previously disabled
* software-emulated extension and re-enable ARB_tex_rect (which was previously disabled
* in wined3d_adapter_init_gl_caps).
* This fixup removes performance problems on both the FX 5900 and FX 5700 (e.g. for framebuffer
* post-processing effects in the game "Max Payne 2").
@ -1294,7 +1294,7 @@ static void init_driver_info(struct wined3d_driver_info *driver_info,
}
/* When we reach this stage we always have a vendor or device id (it can be a default one).
* This means that unless the ids are overriden, we will always find a GPU description. */
* This means that unless the ids are overridden, we will always find a GPU description. */
for (i = 0; i < (sizeof(gpu_description_table) / sizeof(gpu_description_table[0])); i++)
{
if (vendor == gpu_description_table[i].vendor && device == gpu_description_table[i].card)
@ -3048,7 +3048,7 @@ HRESULT CDECL wined3d_get_adapter_identifier(const struct wined3d *wined3d,
const struct wined3d_adapter *adapter;
size_t len;
TRACE_(d3d_caps)("wined3d %p, adapter_idx %u, flags %#x, indentifier %p.\n",
TRACE_(d3d_caps)("wined3d %p, adapter_idx %u, flags %#x, identifier %p.\n",
wined3d, adapter_idx, flags, identifier);
if (adapter_idx >= wined3d->adapter_count)

View File

@ -489,7 +489,7 @@ static void swapchain_gl_present(struct wined3d_swapchain *swapchain, const RECT
TRACE("Rendering the cursor. Creating fake surface at %p\n", &cursor);
/* Build a fake surface to call the Blitting code. It is not possible to use the interface passed by
* the application because we are only supposed to copy the information out. Using a fake surface
* allows to use the Blitting engine and avoid copying the whole texture -> render target blitting code.
* allows us to use the Blitting engine and avoid copying the whole texture -> render target blitting code.
*/
memset(&cursor, 0, sizeof(cursor));
cursor.resource.ref = 1;

View File

@ -1399,7 +1399,7 @@ static BOOL check_filter(const struct wined3d_gl_info *gl_info, GLenum internal)
if(color_match(readback[6], 0xffffffff, 5) || color_match(readback[6], 0x00000000, 5) ||
color_match(readback[9], 0xffffffff, 5) || color_match(readback[9], 0x00000000, 5))
{
TRACE("Read back colors 0x%08x and 0x%08x close to unfiltered color, asuming no filtering\n",
TRACE("Read back colors 0x%08x and 0x%08x close to unfiltered color, assuming no filtering\n",
readback[6], readback[9]);
ret = FALSE;
}

View File

@ -973,7 +973,7 @@ static HRESULT GST_Connect(GSTInPin *pPin, IPin *pConnectPin, ALLOCATOR_PROPERTI
WARN("Ret: %i\n", ret);
hr = E_FAIL;
} else if (!This->cStreams) {
FIXME("Gstreamer could not find any streams\n");
FIXME("GStreamer could not find any streams\n");
hr = E_FAIL;
} else {
gst_pad_query_duration(This->ppPins[0]->their_src, &format, &duration);

View File

@ -1,4 +1,4 @@
/* Gstreamer Base Functions
/* GStreamer Base Functions
*
* Copyright 2002 Lionel Ulmer
* Copyright 2010 Aric Stewart, CodeWeavers

View File

@ -700,7 +700,7 @@ static LRESULT MPEG3_FormatTagDetails(PACMFORMATTAGDETAILSW aftd, DWORD dwQuery)
aftd->dwFormatTagIndex = 2; /* WAVE_FORMAT_MPEG is biggest */
break;
}
/* fall thru */
/* fall through */
case ACM_FORMATTAGDETAILSF_FORMATTAG:
switch (aftd->dwFormatTag)
{

View File

@ -1534,10 +1534,10 @@ static DWORD modLongData(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
/* FIXME: MS doc is not 100% clear. Will lpData only contain system exclusive
* data, or can it also contain raw MIDI data, to be split up and sent to
* modShortData() ?
* If the latest is true, then the following WARNing will fire up
* If the latter is true, then the following WARNing will fire up
*/
if (lpData[0] != 0xF0 || lpData[lpMidiHdr->dwBufferLength - 1] != 0xF7) {
WARN("Alledged system exclusive buffer is not correct\n\tPlease report with MIDI file\n");
WARN("The allegedly system exclusive buffer is not correct\n\tPlease report with MIDI file\n");
}
TRACE("dwBufferLength=%u !\n", lpMidiHdr->dwBufferLength);

View File

@ -181,7 +181,7 @@ static WORD UserBinType = DMBIN_USER;
*
* PSDRV_PPDDecodeHex
*
* Copies str into a newly allocated string from the process heap subsituting
* Copies str into a newly allocated string from the process heap substituting
* hex strings enclosed in '<' and '>' for their byte codes.
*
*/

View File

@ -593,7 +593,7 @@ BOOL PSDRV_WriteSetColor(PHYSDEV dev, PSCOLOR *color)
return PSDRV_WriteSpool(dev, buf, strlen(buf));
default:
ERR("Unkonwn colour type %d\n", color->type);
ERR("Unknown colour type %d\n", color->type);
break;
}

View File

@ -959,7 +959,7 @@ static Cursor create_cursor_from_bitmaps( HBITMAP src_xor, HBITMAP src_and, int
* compatible between Windows and X11. Under X11, there are
* only 3 possible color cursor: black, white and masked. So
* we map the 4th Windows color (invert the bits on the screen)
* to black and an additional white bit on an other place
* to black and an additional white bit on another place
* (+1,+1). This require some boolean arithmetic:
*
* Windows | X11

View File

@ -134,7 +134,7 @@ function dateRange() {
if (isGMT) {
argc--;
}
// function will work even without explict handling of this case
// function will work even without explicit handling of this case
if (argc == 1) {
var tmp = parseInt(arguments[0]);
if (isNaN(tmp)) {

View File

@ -1,5 +1,5 @@
/*
* Wininet - Http Implementation
* Wininet - HTTP Implementation
*
* Copyright 1999 Corel Corporation
* Copyright 2002 CodeWeavers Inc.
@ -1288,7 +1288,7 @@ static DWORD HTTP_HttpAddRequestHeadersW(http_request_t *request,
* NOTE
* On Windows if dwHeaderLength includes the trailing '\0', then
* HttpAddRequestHeadersW() adds it too. However this results in an
* invalid Http header which is rejected by some servers so we probably
* invalid HTTP header which is rejected by some servers so we probably
* don't need to match Windows on that point.
*
* RETURNS

View File

@ -1,5 +1,5 @@
/*
* Wininet - Http tests
* Wininet - HTTP tests
*
* Copyright 2002 Aric Stewart
* Copyright 2004 Mike McCormack

View File

@ -125,7 +125,7 @@ static LRESULT CALLBACK mmioDosIOProc(LPMMIOINFO lpmmioinfo, UINT uMessage,
/* Parameters:
* lParam1 = new position
* lParam2 = from whence to seek (SEEK_SET, SEEK_CUR, SEEK_END)
* Returns: new file postion, -1 on error
* Returns: new file position, -1 on error
*/
ret = _llseek((HFILE)lpmmioinfo->adwInfo[0], (LONG)lParam1, (LONG)lParam2);
if (ret != -1)
@ -210,7 +210,7 @@ static LRESULT CALLBACK mmioMemIOProc(LPMMIOINFO lpmmioinfo, UINT uMessage,
/* Parameters:
* lParam1 = new position
* lParam2 = from whence to seek (SEEK_SET, SEEK_CUR, SEEK_END)
* Returns: new file postion, -1 on error
* Returns: new file position, -1 on error
* NOTE: lDiskOffset should be updated
*/
FIXME("MMIOM_SEEK on memory files should not occur, buffer may be lost!\n");

View File

@ -139,7 +139,7 @@ static BOOL spurious_message(LPMSG msg)
return FALSE;
}
/* A single ok() in each code path allows to prefix this with todo_wine */
/* A single ok() in each code path allows us to prefix this with todo_wine */
#define test_notification(hwnd, command, type) test_notification_dbg(hwnd, command, type, __LINE__)
static void test_notification_dbg(HWND hwnd, const char* command, WPARAM type, int line)
{ /* Use type 0 as meaning no message */

View File

@ -45,7 +45,7 @@ static BOOL spurious_message(LPMSG msg)
return FALSE;
}
/* A single ok() in each code path allows to prefix this with todo_wine */
/* A single ok() in each code path allows us to prefix this with todo_wine */
#define test_notification(hwnd, command, type) test_notification_dbg(hwnd, command, type, __LINE__)
static void test_notification_dbg(HWND hwnd, const char* command, WPARAM type, int line)
{ /* Use type 0 as meaning no message */

View File

@ -1027,9 +1027,9 @@ static BOOL MMSYSTEM_MidiStream_MessageHandler(WINE_MIDIStream* lpMidiStrm, LPWI
break;
/* FIXME(EPP): "I don't understand the content of the first MIDIHDR sent
* by native mcimidi, it doesn't look like a correct one".
* this trick allows to throw it away... but I don't like it.
* this trick allows us to throw it away... but I don't like it.
* It looks like part of the file I'm trying to play and definitively looks
* like raw midi content
* like raw midi content.
* I'd really like to understand why native mcimidi sends it. Perhaps a bad
* synchronization issue where native mcimidi is still processing raw MIDI
* content before generating MIDIEVENTs ?

View File

@ -6243,7 +6243,7 @@ INT WINAPI WSAStringToAddressA(LPSTR AddressString,
/***********************************************************************
* WSAStringToAddressW (WS2_32.81)
*
* Does anybody know if this function allows to use Hebrew/Arabic/Chinese... digits?
* FIXME: Does anybody know if this function allows using Hebrew/Arabic/Chinese... digits?
* If this should be the case, it would be required to map these digits
* to Unicode digits (0-9) using FoldString first.
*/

View File

@ -3023,7 +3023,7 @@ static void test_ioctlsocket(void)
ok(ret != SOCKET_ERROR, "ioctlsocket failed unexpectedly\n");
ok(arg, "SIOCATMARK expected a non-zero value\n");
/* disable SO_OOBINLINE and get the same old bahavior */
/* disable SO_OOBINLINE and get the same old behavior */
optval = 0;
ret = setsockopt(sock, SOL_SOCKET, SO_OOBINLINE, (void *)&optval, sizeof(optval));
ok(ret != SOCKET_ERROR, "setsockopt failed unexpectedly\n");
@ -3749,7 +3749,7 @@ static void test_events(int useMessages)
ok(ret == 50, "Failed to recv buffer %d err %d\n", ret, GetLastError());
ok_event_seq(src, hEvent, empty_seq, NULL, 0);
/* fun fact - events are reenabled even on failure, but only for messages */
/* fun fact - events are re-enabled even on failure, but only for messages */
ret = send(dst, "1", 1, 0);
ok(ret == 1, "Failed to send buffer %d err %d\n", ret, GetLastError());
ok_event_seq(src, hEvent, read_seq, NULL, 0);

View File

@ -17,13 +17,13 @@ the whole registry if no key is specified.
.IP "\-D " regpath
Deletes the specified registry key.
.IP \-S
Run regedit silently (ignored, CLI mode is always silent). This exists for compatability with Windows regedit.
Run regedit silently (ignored, CLI mode is always silent). This exists for compatibility with Windows regedit.
.IP \-V
Run regedit in advanced mode (ignored). This exists for compatability with Windows regedit.
Run regedit in advanced mode (ignored). This exists for compatibility with Windows regedit.
.IP "\-L " location
Specifies the location of the system.dat registry file (ignored). This exists for compatability with Windows regedit.
Specifies the location of the system.dat registry file (ignored). This exists for compatibility with Windows regedit.
.IP "\-R " location
Specifies the location of the user.dat registry file (ignored). This exists for compatability with Windows regedit.
Specifies the location of the user.dat registry file (ignored). This exists for compatibility with Windows regedit.
.IP \-?
Prints a help message. Any other options are ignored.
.IP \-C \fIfile.reg\fR

View File

@ -1058,7 +1058,7 @@ DWORD __cdecl svcctl_ControlService(
case SERVICE_START_PENDING:
if (dwControl==SERVICE_CONTROL_STOP)
break;
/* fall thru */
/* fall through */
case SERVICE_STOP_PENDING:
result = ERROR_SERVICE_CANNOT_ACCEPT_CTRL;
break;

View File

@ -462,7 +462,7 @@ static void update_controls(HWND dialog)
EnableWindow( GetDlgItem( dialog, IDC_BUTTON_BROWSE_PATH ), (current_drive->letter != 'C') );
EnableWindow( GetDlgItem( dialog, IDC_COMBO_TYPE ), (current_drive->letter != 'C') );
/* removeable media properties */
/* removable media properties */
set_textW(dialog, IDC_EDIT_LABEL, current_drive->label ? current_drive->label : emptyW);
/* set serial edit text */

View File

@ -1045,7 +1045,7 @@ static void WCUSER_GenerateKeyInputRecord(struct inner_data* data, BOOL down,
{
case 2:
/* FIXME... should generate two events... */
/* fall thru */
/* fall through */
case 1:
last = buf[0];
break;

View File

@ -377,8 +377,8 @@ void WINECON_SetConfig(struct inner_data* data, const struct config_data* cf
{
CONSOLE_CURSOR_INFO cinfo;
cinfo.dwSize = cfg->cursor_size;
/* <FIXME>: this hack is needed to pass thru the invariant test operation on server side
* (no notification is sent when invariant operation is requested
/* <FIXME>: this hack is needed to pass through the invariant test operation on the server side
* (no notification is sent when invariant operation is requested)
*/
cinfo.bVisible = !cfg->cursor_visible;
SetConsoleCursorInfo(data->hConOut, &cinfo);

View File

@ -1,7 +1,7 @@
/*
* A Win32 based proxy implementing the GBD remote protocol
* This allows to debug Wine (and any "emulated" program) under
* Linux using GDB
* A Win32 based proxy implementing the GBD remote protocol.
* This makes it possible to debug Wine (and any "emulated"
* program) under Linux using GDB.
*
* Copyright (c) Eric Pouech 2002-2004
*
@ -429,7 +429,7 @@ static BOOL handle_exception(struct gdb_context* gdbctx, EXCEPTION_DEBUG_INFO* e
ret = TRUE;
break;
case EXCEPTION_SINGLE_STEP:
/* fall thru */
/* fall through */
case EXCEPTION_BREAKPOINT:
gdbctx->last_sig = SIGTRAP;
ret = TRUE;
@ -1087,7 +1087,7 @@ static enum packet_return packet_verbose_cont(struct gdb_context* gdbctx)
* (they're running winedbg, so I'm sure they can fix the problem from the error message!) */
if (threadCount == 100)
{
fprintf(stderr, "Wow, that's a lot of threads, change threadIDs in wine/programms/winedbg/gdbproxy.c to be higher\n");
fprintf(stderr, "Wow, that's a lot of threads, change threadIDs in wine/programs/winedbg/gdbproxy.c to be higher\n");
break;
}
}
@ -2133,16 +2133,16 @@ static BOOL extract_packets(struct gdb_context* gdbctx)
}
else
{
/* FIXME: if we have in our input buffer more than one packet,
/* FIXME: If we have more than one packet in our input buffer,
* it's very likely that we took too long to answer to a given packet
* and gdb is sending us again the same packet
* We simply drop the second packet. This will lower the risk of error,
* but there's still some race conditions here
* 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.
* A better fix (yet not perfect) would be to have two threads:
* - one managing the packets for gdb
* - the second one managing the commands...
* This would allow us also the reply with the '+' character (Ack of
* the command) way sooner than what we do now
* This would allow us to send the reply with the '+' character (Ack of
* the command) way sooner than we do now.
*/
if (gdbctx->trace & GDBPXY_TRC_LOWLEVEL)
fprintf(stderr, "Dropping packet, I was too slow to respond\n");

View File

@ -35,11 +35,11 @@
*
* - minidump
* + ensure that all commands work as expected in minidump reload function
* (and reenable parser usager)
* (and re-enable parser usage)
* - CPU adherence
* + we always assume the stack grows as on i386 (ie downwards)
* + we always assume the stack grows as on i386 (i.e. downwards)
* - UI
* + enable back the limited output (depth of structure printing and number of
* + re-enable the limited output (depth of structure printing and number of
* lines)
* + make the output as close as possible to what gdb does
* - symbol management:

View File

@ -65,8 +65,8 @@ the command line, or generated by \fBWineDbg\fR when none is given.
This file could later on be reloaded into \fBwinedbg\fR for further
examination.
.IP \fBfile.mdmp\fR
This mode allows to reload into \fBwinedbg\fR the state of a debuggee
which has been saved into a minidump file. See either the \fBminidump\fR
In this mode \fBwinedbg\fR reloads the state of a debuggee which
has been saved into a minidump file. See either the \fBminidump\fR
command below, or the \fB--minidump mode\fR.
.SH OPTIONS

Some files were not shown because too many files have changed in this diff Show More