Module: wine
Branch: master
Commit: 222c167969f8450c798026cca0b59e033e27eae8
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=222c167969f8450c798026c…
Author: Francois Gouget <fgouget(a)free.fr>
Date: Thu Sep 28 21:03:22 2006 +0200
Assorted spelling fixes.
---
dlls/comctl32/header.c | 2 +-
dlls/comctl32/listview.c | 8 ++++----
dlls/comctl32/tests/listview.c | 4 ++--
dlls/crypt32/tests/sip.c | 4 ++--
dlls/oleaut32/ungif.c | 6 +++---
dlls/setupapi/tests/devinst.c | 2 +-
dlls/wined3d/surface.c | 2 +-
dlls/wined3d/vertexbuffer.c | 2 +-
dlls/winex11.drv/opengl.c | 6 +++---
9 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/dlls/comctl32/header.c b/dlls/comctl32/header.c
index 1d4f1fd..63f91d8 100644
--- a/dlls/comctl32/header.c
+++ b/dlls/comctl32/header.c
@@ -1829,7 +1829,7 @@ HEADER_MouseMove (HWND hwnd, WPARAM wPar
HEADER_DrawTrackLine (hwnd, hdc, infoPtr->xOldTrack);
ReleaseDC (hwnd, hdc);
iTrackWidth = infoPtr->xOldTrack - infoPtr->items[infoPtr->iMoveItem].rect.left;
- /* FIXME: should stop tracking if HDN_TRACK returnes TRUE */
+ /* FIXME: should stop tracking if HDN_TRACK returns TRUE */
HEADER_SendNotifyWithIntFieldT(hwnd, HDN_TRACKW, infoPtr->iMoveItem, HDI_WIDTH, iTrackWidth);
}
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index d99b1e2..108d055 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -5146,7 +5146,7 @@ static HIMAGELIST LISTVIEW_GetImageList(
* [I] hwnd : window handle
* [IO] lpLVItem : item info
* [I] isW : if TRUE, then lpLVItem is a LPLVITEMW,
- * if FALSE, the lpLVItem is a LPLVITEMA.
+ * if FALSE, then lpLVItem is a LPLVITEMA.
*
* NOTE:
* This is the internal 'GetItem' interface -- it tries to
@@ -5203,7 +5203,7 @@ static BOOL LISTVIEW_GetItemT(LISTVIEW_I
{
dispInfo.item.state = 0;
- /* apprently, we should not callback for lParam in LVS_OWNERDATA */
+ /* apparently, we should not callback for lParam in LVS_OWNERDATA */
if ((lpLVItem->mask & ~(LVIF_STATE | LVIF_PARAM)) || infoPtr->uCallbackMask)
{
/* NOTE: copy only fields which we _know_ are initialized, some apps
@@ -5399,7 +5399,7 @@ static BOOL LISTVIEW_GetItemT(LISTVIEW_I
* [I] hwnd : window handle
* [IO] lpLVItem : item info
* [I] isW : if TRUE, then lpLVItem is a LPLVITEMW,
- * if FALSE, the lpLVItem is a LPLVITEMA.
+ * if FALSE, then lpLVItem is a LPLVITEMA.
*
* NOTE:
* This is the external 'GetItem' interface -- it properly copies
@@ -6630,7 +6630,7 @@ fail:
* [I] infoPtr : valid pointer to the listview structure
* [I] nColumn : column index
* [I] lpColumn : column attributes
- * [I] isW: if TRUE, the lpColumn is a LPLVCOLUMNW, else it is a LPLVCOLUMNA
+ * [I] isW: if TRUE, then lpColumn is a LPLVCOLUMNW, else it is a LPLVCOLUMNA
*
* RETURN:
* SUCCESS : TRUE
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index dd99df9..e96ad26 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -147,7 +147,7 @@ static void test_checkboxes(void)
r = SendMessage(hwnd, LVM_GETITEMA, 0, (LPARAM) &item);
ok(item.state == 0x1ccc, "state %x\n", item.state);
- /* Now add an item without specifying a state and check that it's state goes to 0x1000 */
+ /* Now add an item without specifying a state and check that its state goes to 0x1000 */
item.iItem = 2;
item.mask = LVIF_TEXT;
item.state = 0;
@@ -161,7 +161,7 @@ static void test_checkboxes(void)
r = SendMessage(hwnd, LVM_GETITEMA, 0, (LPARAM) &item);
ok(item.state == 0x1000, "state %x\n", item.state);
- /* Add a further item this time specifying a state and still it's state goes to 0x1000 */
+ /* Add a further item this time specifying a state and still its state goes to 0x1000 */
item.iItem = 3;
item.mask = LVIF_TEXT | LVIF_STATE;
item.stateMask = 0xffff;
diff --git a/dlls/crypt32/tests/sip.c b/dlls/crypt32/tests/sip.c
index 6fa6b99..8264251 100644
--- a/dlls/crypt32/tests/sip.c
+++ b/dlls/crypt32/tests/sip.c
@@ -149,9 +149,9 @@ static void test_SIPRetrieveSubjectGUID(
ok (GetLastError() == ERROR_INVALID_PARAMETER,
"Expected ERROR_INVALID_PARAMETER, got %ld.\n", GetLastError());
- /* Test with a non-existent file (hopefully) */
+ /* Test with a nonexistent file (hopefully) */
SetLastError(0xdeadbeef);
- /* Set subject to something other than zero's */
+ /* Set subject to something other than zeros */
memset(&subject, 1, sizeof(GUID));
ret = CryptSIPRetrieveSubjectGuid(deadbeef, NULL, &subject);
ok ( !ret, "Expected CryptSIPRetrieveSubjectGuid to fail\n");
diff --git a/dlls/oleaut32/ungif.c b/dlls/oleaut32/ungif.c
index 97e8cf1..7ee6e83 100644
--- a/dlls/oleaut32/ungif.c
+++ b/dlls/oleaut32/ungif.c
@@ -713,9 +713,9 @@ DGifGetPrefixChar(GifPrefixType *Prefix,
/******************************************************************************
* The LZ decompression input routine:
- * This routine is responsable for the decompression of the bit stream from
+ * This routine is responsible for the decompression of the bit stream from
* 8 bits (bytes) packets, into the real codes.
- * Returns GIF_OK if read succesfully.
+ * Returns GIF_OK if read successfully.
*****************************************************************************/
static int
DGifDecompressInput(GifFileType * GifFile,
@@ -767,7 +767,7 @@ DGifDecompressInput(GifFileType * GifFil
* This routines read one gif data block at a time and buffers it internally
* so that the decompression routine could access it.
* The routine returns the next byte from its internal buffer (or read next
- * block in if buffer empty) and returns GIF_OK if succesful.
+ * block in if buffer empty) and returns GIF_OK if successful.
*****************************************************************************/
static int
DGifBufferedInput(GifFileType * GifFile,
diff --git a/dlls/setupapi/tests/devinst.c b/dlls/setupapi/tests/devinst.c
index 5f02991..41d32ec 100644
--- a/dlls/setupapi/tests/devinst.c
+++ b/dlls/setupapi/tests/devinst.c
@@ -90,7 +90,7 @@ static void test_SetupDiOpenClassRegKeyE
static const CHAR guidString[] = "{6a55b5a4-3f65-11db-b704-0011955c2bdb}";
HKEY hkey;
- /* Check return value for non-existent key */
+ /* Check return value for nonexistent key */
hkey = pSetupDiOpenClassRegKeyExA(&guid, KEY_ALL_ACCESS,
DIOCR_INSTALLER, NULL, NULL);
ok(hkey == INVALID_HANDLE_VALUE,
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 3146475..7860396 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2864,7 +2864,7 @@ HRESULT WINAPI IWineD3DSurfaceImpl_BltFa
DstRect.right = dstx + SrcRect.right - SrcRect.left;
DstRect.bottom = dsty + SrcRect.bottom - SrcRect.top;
- /* Convert BltFast flags into Btl ones because it is called from SurfaceImpl_Blt aswell */
+ /* Convert BltFast flags into Btl ones because it is called from SurfaceImpl_Blt as well */
if(trans & DDBLTFAST_SRCCOLORKEY)
Flags |= DDBLT_KEYSRC;
if(trans & DDBLTFAST_DESTCOLORKEY)
diff --git a/dlls/wined3d/vertexbuffer.c b/dlls/wined3d/vertexbuffer.c
index 5046d42..71106a7 100644
--- a/dlls/wined3d/vertexbuffer.c
+++ b/dlls/wined3d/vertexbuffer.c
@@ -241,7 +241,7 @@ inline BOOL WINAPI IWineD3DVertexBufferI
* If some stuff does not exist in the buffer, then lpData, dwStride and dwType are memsetted to 0. So if the semantic didn't exist before
* and does not exist now all 3 values will be equal(=0).
*
- * Checking the lpData field alone is not enought, because data may appear at offset 0 in the buffer. This is the same location as nonexistant
+ * Checking the lpData field alone is not enough, because data may appear at offset 0 in the buffer. This is the same location as nonexistent
* data uses, so we have to check the type and stride too. Colors can be at offset 0 too, because it is perfectly fine to render from 2 or more
* buffers at the same time and get the position from one and the color from the other buffer.
*/
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index c6f5a18..ad2c938 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -403,7 +403,7 @@ #undef LOAD_FUNCPTR
* 8762 drivers support 1.3 for the server and 1.4 for the client and they support lots of extensions.
* Unfortunately it is much more complicated for Mesa/DRI-based drivers and ATI's drivers.
* Both sets of drivers report a server version of 1.2 and the client version can be 1.3 or 1.4.
- * Further in case of atleast ATI's drivers one crucial extension needed for our pixel format code
+ * Further, in case of at least ATI's drivers, one crucial extension needed for our pixel format code
* is only available in the list of server extensions and not in the client list.
*
* The versioning checks below try to take into account the comments from above.
@@ -2029,7 +2029,7 @@ GLboolean WINAPI X11DRV_wglChoosePixelFo
int tmp_vis_id;
int pfmt_it = 0;
- int offscreen_index = 1; /* Start at one because we allways have a main visual at iPixelFormat=1 */
+ int offscreen_index = 1; /* Start at one because we always have a main visual at iPixelFormat=1 */
TRACE("(%p, %p, %p, %d, %p, %p): hackish\n", hdc, piAttribIList, pfAttribFList, nMaxFormats, piFormats, nNumFormats);
if (NULL != pfAttribFList) {
@@ -2103,7 +2103,7 @@ GLboolean WINAPI X11DRV_wglChoosePixelFo
/* The format of Wine's main visual is stored at index 1 of our WGL format table.
* At higher indices we store offscreen rendering formats (visualid=0). Below we calculate
* the index of the offscreen format. We do this by counting the number of offscreen formats
- * which we see upto reaching our target format. */
+ * which we see until we reach our target format. */
if(tmp_vis_id == 0)
offscreen_index++;