Spelling fixes.
This commit is contained in:
parent
f296a8ca6c
commit
0e4adae973
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
*
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "wine/test.h"
|
||||
|
||||
/***********************************************************************
|
||||
* Compability macros
|
||||
* Compatibility macros
|
||||
*/
|
||||
|
||||
#define DWORD_PTR UINT_PTR
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue