From 0e4adae9732434188923fe2c9b24c82a7a9cb4f5 Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 4 Jan 2008 13:37:14 -0600 Subject: [PATCH] Spelling fixes. --- dlls/winemp3.acm/dct64_i386.c | 4 ++-- dlls/winemp3.acm/decode_i386.c | 4 ++-- dlls/winemp3.acm/huffman.h | 4 ++-- dlls/winemp3.acm/layer3.c | 2 +- dlls/winenas.drv/audio.c | 2 +- dlls/wineoss.drv/audio.c | 2 +- dlls/wineoss.drv/midi.c | 8 ++++---- dlls/wineoss.drv/midipatch.c | 2 +- dlls/winex11.drv/bitblt.c | 2 +- dlls/winex11.drv/desktop.c | 2 +- dlls/winex11.drv/dib.c | 4 ++-- dlls/winex11.drv/event.c | 2 +- dlls/winex11.drv/opengl.c | 4 ++-- dlls/winex11.drv/winpos.c | 4 ++-- dlls/winex11.drv/wintab.c | 4 ++-- dlls/winex11.drv/xdnd.c | 2 +- dlls/winex11.drv/xrender.c | 2 +- dlls/wininet/ftp.c | 4 ++-- dlls/wininet/http.c | 8 ++++---- dlls/wininet/internet.c | 2 +- dlls/wininet/tests/generated.c | 2 +- dlls/wininet/tests/url.c | 6 +++--- dlls/wininet/urlcache.c | 4 ++-- 23 files changed, 40 insertions(+), 40 deletions(-) diff --git a/dlls/winemp3.acm/dct64_i386.c b/dlls/winemp3.acm/dct64_i386.c index 70d4c0580f6..42166ba78fd 100644 --- a/dlls/winemp3.acm/dct64_i386.c +++ b/dlls/winemp3.acm/dct64_i386.c @@ -1,9 +1,9 @@ /* * Copyright (c) Michael Hipp and other authors of the mpglib project. * - * Discrete Cosine Tansform (DCT) for subband synthesis + * Discrete Cosine Transform (DCT) for subband synthesis * optimized for machines with no auto-increment. - * The performance is highly compiler dependend. Maybe + * The performance is highly compiler dependent. Maybe * the dct64.c version for 'normal' processor may be faster * even for Intel processors. * diff --git a/dlls/winemp3.acm/decode_i386.c b/dlls/winemp3.acm/decode_i386.c index 9875cd89e80..0029a92c705 100644 --- a/dlls/winemp3.acm/decode_i386.c +++ b/dlls/winemp3.acm/decode_i386.c @@ -4,8 +4,8 @@ * copyright (c) 1995,1996,1997 by Michael Hipp, All rights reserved. * See also 'README' * - * slighlty optimized for machines without autoincrement/decrement. - * The performance is highly compiler dependend. Maybe + * Slightly optimized for machines without autoincrement/decrement. + * The performance is highly compiler dependent. Maybe * the decode.c version for 'normal' processor may be faster * even for Intel processors. * diff --git a/dlls/winemp3.acm/huffman.h b/dlls/winemp3.acm/huffman.h index e7026a0b185..8adac04fc92 100644 --- a/dlls/winemp3.acm/huffman.h +++ b/dlls/winemp3.acm/huffman.h @@ -1,11 +1,11 @@ /* * Copyright (c) Michael Hipp and other authors of the mpglib project. * - * huffman tables ... recalcualted to work with my optimzed + * huffman tables ... recalculated to work with my optimized * decoder scheme (MH) * * probably we could save a few bytes of memory, because the - * smaller tables are often the part of a bigger table + * smaller tables are often part of a bigger table * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/dlls/winemp3.acm/layer3.c b/dlls/winemp3.acm/layer3.c index 129d82151ac..abee5434a8f 100644 --- a/dlls/winemp3.acm/layer3.c +++ b/dlls/winemp3.acm/layer3.c @@ -1571,7 +1571,7 @@ static void III_antialias(real xr[SBLIMIT][SSLIMIT],struct gr_info_s *gr_info) } /* - DCT insipired by Jeff Tsay's DCT from the maplay package + DCT inspired by Jeff Tsay's DCT from the maplay package this is an optimized version with manual unroll. References: diff --git a/dlls/winenas.drv/audio.c b/dlls/winenas.drv/audio.c index f37ed6138ab..4d949352181 100644 --- a/dlls/winenas.drv/audio.c +++ b/dlls/winenas.drv/audio.c @@ -484,7 +484,7 @@ static int NAS_DestroyRingMessage(MSG_RING* mr) /****************************************************************** * NAS_AddRingMessage * - * Inserts a new message into the ring (should be called from DriverProc derivated routines) + * Inserts a new message into the ring (should be called from DriverProc derived routines) */ static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param, BOOL wait) { diff --git a/dlls/wineoss.drv/audio.c b/dlls/wineoss.drv/audio.c index 6453da47cf6..7ea80a61fd8 100644 --- a/dlls/wineoss.drv/audio.c +++ b/dlls/wineoss.drv/audio.c @@ -1299,7 +1299,7 @@ static int OSS_DestroyRingMessage(OSS_MSG_RING* omr) /****************************************************************** * OSS_AddRingMessage * - * Inserts a new message into the ring (should be called from DriverProc derivated routines) + * Inserts a new message into the ring (should be called from DriverProc derived routines) */ static int OSS_AddRingMessage(OSS_MSG_RING* omr, enum win_wm_message msg, DWORD param, BOOL wait) { diff --git a/dlls/wineoss.drv/midi.c b/dlls/wineoss.drv/midi.c index 2f790f1a136..dfcdc23f414 100644 --- a/dlls/wineoss.drv/midi.c +++ b/dlls/wineoss.drv/midi.c @@ -109,7 +109,7 @@ static WINE_MIDIOUT MidiOutDev[MAX_MIDIOUTDRV]; /* this is the total number of MIDI out devices found (synth and port) */ static int MODM_NumDevs = 0; -/* this is the number of FM synthetizers (index from 0 to NUMFMSYNTHDEVS - 1) */ +/* this is the number of FM synthesizers (index from 0 to NUMFMSYNTHDEVS - 1) */ static int MODM_NumFMSynthDevs = 0; /* the Midi ports have index from NUMFMSYNTHDEVS to NumDevs - 1 */ @@ -299,9 +299,9 @@ LRESULT OSS_MidiInit(void) /* This whole part is somewhat obscure to me. I'll keep trying to dig info about it. If you happen to know, please tell us. The very - descritive minfo.dev_type was not used here. + descriptive minfo.dev_type was not used here. */ - /* Manufac ID. We do not have access to this with soundcard.h + /* Manufacturer ID. We do not have access to this with soundcard.h Does not seem to be a problem, because in mmsystem.h only Microsoft's ID is listed */ MidiOutDev[numsynthdevs + i].caps.wMid = 0x00FF; @@ -980,7 +980,7 @@ typedef struct sChannel { int bender; int benderRange; - /* controlers */ + /* controllers */ int bank; /* CTL_BANK_SELECT */ int volume; /* CTL_MAIN_VOLUME */ int balance; /* CTL_BALANCE */ diff --git a/dlls/wineoss.drv/midipatch.c b/dlls/wineoss.drv/midipatch.c index 1180c6f20cd..41d8e07b99a 100644 --- a/dlls/wineoss.drv/midipatch.c +++ b/dlls/wineoss.drv/midipatch.c @@ -126,7 +126,7 @@ const unsigned char midiFMInstrumentPatches[128 * 16] = { /* 96 Synth SFX 1 - Ice Rain */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 97 Synth SFX 2 - Soundtrack */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 98 Synth SFX 3 - Crystal */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, -/* 99 Synth SFX 4 - Athmosphere */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, +/* 99 Synth SFX 4 - Atmosphere */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 100 Synth SFX 5 - Brightness */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 101 Synth SFX 6 - Goblin */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* 102 Synth SFX 7 - Echo drops */ 0x07, 0x01, 0x87, 0x80, 0xf0, 0xf0, 0x05, 0x05, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, diff --git a/dlls/winex11.drv/bitblt.c b/dlls/winex11.drv/bitblt.c index 40e825ab547..ad861bb65fa 100644 --- a/dlls/winex11.drv/bitblt.c +++ b/dlls/winex11.drv/bitblt.c @@ -928,7 +928,7 @@ static int BITBLT_GetSrcArea( X11DRV_PDEVICE *physDevSrc, X11DRV_PDEVICE *physDe if (physDevDst->depth == 1) { /* MSDN says if StretchBlt must convert a bitmap from monochrome - to color or vice versa, the forground and background color of + to color or vice versa, the foreground and background color of the device context are used. In fact, it also applies to the case when it is converted from mono to mono. */ XSetBackground( gdi_display, gc, physDevDst->textPixel ); diff --git a/dlls/winex11.drv/desktop.c b/dlls/winex11.drv/desktop.c index 19643d173c9..9fb710a0b2e 100644 --- a/dlls/winex11.drv/desktop.c +++ b/dlls/winex11.drv/desktop.c @@ -124,7 +124,7 @@ static LONG X11DRV_desktop_SetCurrentMode(int mode) if (dwBpp != dd_modes[mode].dwBPP) { FIXME("Cannot change screen BPP from %d to %d\n", dwBpp, dd_modes[mode].dwBPP); - /* Ignore the depth missmatch + /* Ignore the depth mismatch * * Some (older) applications require a specific bit depth, this will allow them * to run. X11drv performs a color depth conversion if needed. diff --git a/dlls/winex11.drv/dib.c b/dlls/winex11.drv/dib.c index 8fb61dd206f..fc71c244621 100644 --- a/dlls/winex11.drv/dib.c +++ b/dlls/winex11.drv/dib.c @@ -2636,7 +2636,7 @@ static void X11DRV_DIB_SetImageBits_24( int lines, const BYTE *srcbits, case 4: case 8: { - /* ==== rgb 888 dib -> any bmp bormat ==== */ + /* ==== rgb 888 dib -> any bmp format ==== */ const BYTE* srcbyte; /* Windows only supports one 24bpp DIB format: RGB888 */ @@ -3652,7 +3652,7 @@ static int X11DRV_DIB_GetImageBits( const X11DRV_DIB_IMAGEBITS_DESCR *descr ) /* We must save and restore the bmpImage's masks in order * to preserve them across the call to XShmGetImage, which - * decides to eleminate them since it doesn't happen to know + * decides to eliminate them since it doesn't happen to know * what the format of the image is supposed to be, even though * we do. */ saveRed = bmpImage->red_mask; diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 5eaebe9a0da..726ff3ec84a 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -651,7 +651,7 @@ static HWND find_drop_window( HWND hQueryWnd, LPPOINT lpPt ) /********************************************************************** * EVENT_DropFromOffix * - * don't know if it still works (last Changlog is from 96/11/04) + * don't know if it still works (last Changelog is from 96/11/04) */ static void EVENT_DropFromOffiX( HWND hWnd, XClientMessageEvent *event ) { diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c index f8cf30158c1..6df2713b582 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -2623,8 +2623,8 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF return GL_FALSE; } - /* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't supoprted. - * We don't have to fail yet as a program can specify an invaled iPixelFormat (lets say 0) if it wants to query + /* Convert the WGL pixelformat to a GLX one, if this fails then most likely the iPixelFormat isn't supported. + * We don't have to fail yet as a program can specify an invalid iPixelFormat (lets say 0) if it wants to query * the number of supported WGL formats. Whether the iPixelFormat is valid is handled in the for-loop below. */ fmt = ConvertPixelFormatWGLtoGLX(gdi_display, iPixelFormat, TRUE /* Offscreen */, &nWGLFormats); if(!fmt) { diff --git a/dlls/winex11.drv/winpos.c b/dlls/winex11.drv/winpos.c index a521bf7f53d..3b148c669cb 100644 --- a/dlls/winex11.drv/winpos.c +++ b/dlls/winex11.drv/winpos.c @@ -1052,7 +1052,7 @@ static void draw_moving_frame( HDC hdc, RECT *rect, BOOL thickframe ) /*********************************************************************** * start_size_move * - * Initialisation of a move or resize, when initiatied from a menu choice. + * Initialization of a move or resize, when initiated from a menu choice. * Return hit test code for caption or sizing border. */ static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG style ) @@ -1069,7 +1069,7 @@ static LONG start_size_move( HWND hwnd, WPARAM wParam, POINT *capturePoint, LONG /* Move pointer at the center of the caption */ RECT rect = rectWindow; /* Note: to be exactly centered we should take the different types - * of border into account, but it shouldn't make more that a few pixels + * of border into account, but it shouldn't make more than a few pixels * of difference so let's not bother with that */ rect.top += GetSystemMetrics(SM_CYBORDER); if (style & WS_SYSMENU) diff --git a/dlls/winex11.drv/wintab.c b/dlls/winex11.drv/wintab.c index 3f6abb13240..348a7f5507d 100644 --- a/dlls/winex11.drv/wintab.c +++ b/dlls/winex11.drv/wintab.c @@ -459,13 +459,13 @@ void X11DRV_LoadTabletInfo(HWND hwnddefault) if (!X11DRV_XInput_Init()) { - ERR("Unable to initialized the XInput library.\n"); + ERR("Unable to initialize the XInput library.\n"); return; } hwndTabletDefault = hwnddefault; - /* Do base initializaion */ + /* Do base initialization */ strcpyW(gSysContext.lcName, SZ_CONTEXT_NAME); strcpyW(gSysDevice.NAME, SZ_DEVICE_NAME); diff --git a/dlls/winex11.drv/xdnd.c b/dlls/winex11.drv/xdnd.c index 02fcae823e8..73674f519b7 100644 --- a/dlls/winex11.drv/xdnd.c +++ b/dlls/winex11.drv/xdnd.c @@ -443,7 +443,7 @@ static int X11DRV_XDND_DeconstructTextPlain(int property, void* data, int len) { char* dostext; - /* Always suppply plain text */ + /* Always supply plain text */ X11DRV_XDND_UnixToDos(&dostext, (char*)data, len); X11DRV_XDND_InsertXDNDData(property, CF_TEXT, dostext, strlen(dostext)); diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index c5b4af57745..aa894a6f702 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -1050,7 +1050,7 @@ static void SmoothGlyphGray(XImage *image, int x, int y, void *bitmap, XGlyphInf /************************************************************* * get_tile_pict * - * Returns an appropiate Picture for tiling the text colour. + * Returns an appropriate Picture for tiling the text colour. * Call and use result within the xrender_cs */ static Picture get_tile_pict(enum drawable_depth_type type, int text_pixel) diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c index 27d3b43a1cd..44a5d33ef5e 100644 --- a/dlls/wininet/ftp.c +++ b/dlls/wininet/ftp.c @@ -2354,7 +2354,7 @@ INT FTP_ReceiveResponse(LPWININETFTPSESSIONW lpwfs, DWORD_PTR dwContext) if(lpszResponse[3] != '-') break; else - { /* Start of multiline repsonse. Loop until we get "nnn " */ + { /* Start of multiline response. Loop until we get "nnn " */ multiline = TRUE; memcpy(firstprefix, lpszResponse, 3); firstprefix[3] = ' '; @@ -3430,7 +3430,7 @@ static BOOL FTP_ParseDirectory(LPWININETFTPSESSIONW lpwfs, INT nSocket, LPCWSTR TRACE("\n"); - /* Allocate intial file properties array */ + /* Allocate initial file properties array */ *lpafp = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(FILEPROPERTIESW)*(sizeFilePropArray)); if (!*lpafp) return FALSE; diff --git a/dlls/wininet/http.c b/dlls/wininet/http.c index c996e0ce25e..b9f56d2ccf8 100644 --- a/dlls/wininet/http.c +++ b/dlls/wininet/http.c @@ -281,7 +281,7 @@ static LPWSTR HTTP_BuildHeaderRequestString( LPWININETHTTPREQW lpwhr, LPCWSTR ve req[n++] = path; req[n++] = http1_1 ? g_szHttp1_1 : g_szHttp1_0; - /* Append custom request heades */ + /* Append custom request headers */ for (i = 0; i < lpwhr->nCustHeaders; i++) { if (lpwhr->pCustHeaders[i].wFlags & HDR_ISREQUEST) @@ -723,7 +723,7 @@ BOOL WINAPI HttpAddRequestHeadersA(HINTERNET hHttpRequest, } /* read any content returned by the server so that the connection can be - * resued */ + * reused */ static void HTTP_DrainContent(LPWININETHTTPREQW lpwhr) { DWORD bytes_read; @@ -1768,7 +1768,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev if (index >= 0) lphttpHdr = &lpwhr->pCustHeaders[index]; - /* Ensure header satisifies requested attributes */ + /* Ensure header satisfies requested attributes */ if (!lphttpHdr || ((dwInfoLevel & HTTP_QUERY_FLAG_REQUEST_HEADERS) && (~lphttpHdr->wFlags & HDR_ISREQUEST))) @@ -1780,7 +1780,7 @@ static BOOL WINAPI HTTP_HttpQueryInfoW( LPWININETHTTPREQW lpwhr, DWORD dwInfoLev if (lpdwIndex) (*lpdwIndex)++; - /* coalesce value to reuqested type */ + /* coalesce value to requested type */ if (dwInfoLevel & HTTP_QUERY_FLAG_NUMBER) { *(int *)lpBuffer = atoiW(lphttpHdr->lpszValue); diff --git a/dlls/wininet/internet.c b/dlls/wininet/internet.c index 03c5153b020..2c3e9a9ad0e 100644 --- a/dlls/wininet/internet.c +++ b/dlls/wininet/internet.c @@ -2808,7 +2808,7 @@ BOOL WINAPI InternetCheckConnectionW( LPCWSTR lpszUrl, DWORD dwFlags, DWORD dwRe if (lpszUrl == NULL) { /* - * According to the doc we are supost to use the ip for the next + * According to the doc we are supposed to use the ip for the next * server in the WnInet internal server database. I have * no idea what that is or how to get it. * diff --git a/dlls/wininet/tests/generated.c b/dlls/wininet/tests/generated.c index ce70211268e..e88b3bfeb13 100644 --- a/dlls/wininet/tests/generated.c +++ b/dlls/wininet/tests/generated.c @@ -20,7 +20,7 @@ #include "wine/test.h" /*********************************************************************** - * Compability macros + * Compatibility macros */ #define DWORD_PTR UINT_PTR diff --git a/dlls/wininet/tests/url.c b/dlls/wininet/tests/url.c index e7c4288f026..dd71edb485e 100644 --- a/dlls/wininet/tests/url.c +++ b/dlls/wininet/tests/url.c @@ -241,7 +241,7 @@ static void InternetCrackUrl_test(void) ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n"); /* Invalid Call: must set size of components structure (Windows only - * inforces this on the InternetCrackUrlA version of the call) */ + * enforces this on the InternetCrackUrlA version of the call) */ copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024); SetLastError(0xdeadbeef); urlComponents.dwStructSize = 0; @@ -250,7 +250,7 @@ static void InternetCrackUrl_test(void) ok(GLE != 0xdeadbeef && GLE != ERROR_SUCCESS, "Expected GLE to represent a failure\n"); /* Invalid Call: size of dwStructSize must be one of the "standard" sizes - * of the URL_COMPONENTS structure (Windows only inforces this on the + * of the URL_COMPONENTS structure (Windows only enforces this on the * InternetCrackUrlA version of the call) */ copy_compsA(&urlSrc, &urlComponents, 0, 1024, 1024, 1024, 2048, 1024); SetLastError(0xdeadbeef); @@ -461,7 +461,7 @@ static void InternetCreateUrlA_test(void) "Expected ERROR_INVALID_PARAMETER, got %d\n", GetLastError()); ok(len == -1, "Expected len -1, got %d\n", len); - /* test valid lpUrlComponets, emptry szUrl + /* test valid lpUrlComponets, empty szUrl * lpdwUrlLength is size of buffer required on exit, including * the terminating null when GLE == ERROR_INSUFFICIENT_BUFFER */ diff --git a/dlls/wininet/urlcache.c b/dlls/wininet/urlcache.c index 597665d23a3..7dfb20aec10 100644 --- a/dlls/wininet/urlcache.c +++ b/dlls/wininet/urlcache.c @@ -113,7 +113,7 @@ typedef struct _URL_CACHEFILE_ENTRY /* packing to dword align start of next field */ /* CHAR szSourceUrlName[]; (url) */ /* packing to dword align start of next field */ - /* CHAR szLocalFileName[]; (local file name exluding path) */ + /* CHAR szLocalFileName[]; (local file name excluding path) */ /* packing to dword align start of next field */ /* CHAR szHeaderInfo[]; (header info) */ } URL_CACHEFILE_ENTRY; @@ -171,7 +171,7 @@ typedef struct _URLCACHECONTAINER LPWSTR path; /* path to url container directory */ HANDLE hMapping; /* handle of file mapping */ DWORD file_size; /* size of file when mapping was opened */ - HANDLE hMutex; /* hande of mutex */ + HANDLE hMutex; /* handle of mutex */ } URLCACHECONTAINER;