Commit 536e7385 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent ce84a438
......@@ -421,8 +421,8 @@ HRESULT WINAPI AtlModuleUnregisterServer(_ATL_MODULEW *pm, const CLSID *clsid)
* NOTES
* Can be called multiple times without error, unlike RegisterClassEx().
*
* If the class name is NULL then it a class with a name of "ATLxxxxxxxx" is
* registered, where the x's represent an unique value.
* If the class name is NULL, then a class with a name of "ATLxxxxxxxx" is
* registered, where the 'x's represent a unique value.
*
*/
ATOM WINAPI AtlModuleRegisterWndClassInfoW(_ATL_MODULEW *pm, _ATL_WNDCLASSINFOW *wci, WNDPROC *pProc)
......
......@@ -48,7 +48,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(commctrl);
* Internal helper for ChrCmpA/COMCTL32_ChrCmpIA.
*
* NOTES
* Both this function and its Unicode counterpart are very inneficient. To
* Both this function and its Unicode counterpart are very inefficient. To
* fix this, CompareString must be completely implemented and optimised
* first. Then the core character test can be taken out of that function and
* placed here, so that it need never be called at all. Until then, do not
......
......@@ -2301,7 +2301,7 @@ BOOL WINAPI PrintDlgW(LPPRINTDLGW lppd)
* PageSetupDlg
* rad1 - portrait
* rad2 - landscape
* cmb1 - printer select (not in standart dialog template)
* cmb1 - printer select (not in standard dialog template)
* cmb2 - paper size
* cmb3 - source (tray?)
* edt4 - border left
......@@ -2315,7 +2315,7 @@ typedef struct {
LPPAGESETUPDLGA dlga; /* Handler to user defined struct */
PRINTDLGA pdlg;
HWND hDlg; /* Page Setup dialog handler */
PAGESETUPDLGA curdlg; /* Struct means cerrent dialog state */
PAGESETUPDLGA curdlg; /* Stores the current dialog state */
RECT rtDrawRect; /* Drawing rect for page */
} PageSetupDataA;
......@@ -2479,8 +2479,8 @@ _c_str2sizeW(PAGESETUPDLGW *dlga, LPCWSTR strin) {
*
* PARAMS
* hDlg [in] main window dialog HANDLE
* pda [in/out] ptr to PageSetupDataA structere
*
* pda [in/out] ptr to PageSetupDataA structure
*
* RETURNS
* TRUE
*/
......
......@@ -53,13 +53,13 @@ static void test_IMalloc(void)
lpVoid = NULL;
hRet = IMalloc_QueryInterface(lpMalloc, &IID_IUnknown, &lpVoid);
ok (hRet == S_OK && lpVoid != NULL,
"IID_IUnknown: exepected S_OK, non-null, got 0x%08x, %p\n",
"IID_IUnknown: expected S_OK, non-null, got 0x%08x, %p\n",
hRet, lpVoid);
lpVoid = NULL;
hRet = IMalloc_QueryInterface(lpMalloc, &IID_IMalloc, &lpVoid);
ok (hRet == S_OK && lpVoid != NULL,
"IID_IIMalloc: exepected S_OK, non-null, got 0x%08x, %p\n",
"IID_IIMalloc: expected S_OK, non-null, got 0x%08x, %p\n",
hRet, lpVoid);
/* Prove that native mapi uses LocalAlloc/LocalFree */
......
......@@ -459,7 +459,7 @@ static HRESULT WINAPI Moniker_BindToStorage(IMoniker *iface, IBindCtx *pbc, IMon
ok(bindinfo.dwOptionsFlags == 0, "bindinfo.dwOptionsFlags=%d\n", bindinfo.dwOptionsFlags);
/* TODO: test dwCodePage */
/* TODO: test securityAttributes */
ok(IsEqualGUID(&IID_NULL, &bindinfo.iid), "unexepected bindinfo.iid\n");
ok(IsEqualGUID(&IID_NULL, &bindinfo.iid), "unexpected bindinfo.iid\n");
ok(bindinfo.pUnk == NULL, "bindinfo.pUnk=%p\n", bindinfo.pUnk);
ok(bindinfo.dwReserved == 0, "bindinfo.dwReserved=%d\n", bindinfo.dwReserved);
......
......@@ -6321,7 +6321,7 @@ static void test_VarCmp(void)
SETDEC64(dec,0,0x80,0xFFFFFFFF,0xFFFFFFFF,0xFFFFFFFF);
VARCMP(DECIMAL,dec,R8,-R8_MAX,VARCMP_GT);
SETDEC64(dec,20,0,0x5,0x6BC75E2D,0x63100001); /* 1+1e-20 */
VARCMP(DECIMAL,dec,R8,1,VARCMP_GT); /* DECIMAL has higher precission */
VARCMP(DECIMAL,dec,R8,1,VARCMP_GT); /* DECIMAL has higher precision */
/* Show that DATE is handled just as a R8 */
VARCMP(DATE,DATE_MAX,DATE,DATE_MAX+1,VARCMP_LT);
......@@ -6334,7 +6334,7 @@ static void test_VarCmp(void)
VARCMP(DATE,25570.0,EMPTY,0,VARCMP_GT);
VARCMP(DATE,25570.0,NULL_,0,VARCMP_NULL);
/* R4 precission handling */
/* R4 precision handling */
VARCMP(R4,1,R8,1+1e-8,VARCMP_EQ);
VARCMP(R8,1+1e-8,R4,1,VARCMP_EQ);
VARCMP(R8,1+1e-8,R8,1,VARCMP_GT);
......
......@@ -19,7 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
* NOTES
* Nearly complete informations about the binary formats
* Nearly complete information about the binary formats
* of .lnk files available at http://www.wotsit.org
*
* You can use winedump to examine the contents of a link file:
......@@ -139,7 +139,7 @@ typedef struct
LONG ref;
/* data structures according to the informations in the link */
/* data structures according to the information in the link */
LPITEMIDLIST pPidl;
WORD wHotKey;
SYSTEMTIME time1;
......
......@@ -1319,14 +1319,14 @@ HRESULT WINAPI SetAppStartingCursor(HWND u, DWORD v)
/*************************************************************************
* SHLoadOLE [SHELL32.151]
*
* To reduce the memory usage of Windows 95 it's shell32 contained an
* To reduce the memory usage of Windows 95, its shell32 contained an
* internal implementation of a part of COM (see e.g. SHGetMalloc, SHCoCreateInstance,
* SHRegisterDragDrop etc.) that allowed to use in-process STA objects without
* the need to load OLE32.DLL. If OLE32.DLL was already loaded, the SH* function
* would just call the Co* functions.
*
* The SHLoadOLE was called when OLE32.DLL was being loaded to transfer all the
* informations from the shell32 "mini-COM" to ole32.dll.
* information from the shell32 "mini-COM" to ole32.dll.
*
* See http://blogs.msdn.com/oldnewthing/archive/2004/07/05/173226.aspx for a
* detailed description.
......
......@@ -432,8 +432,8 @@ static void test_GetDisplayName(void)
hr = IShellFolder_SetNameOf(psfPersonal, NULL, pidlNew, wszAbsoluteFilename,
SHGDN_FORPARSING, NULL);
ok (hr == HRESULT_FROM_WIN32(ERROR_CANCELLED), "SetNameOf succeeded! hr = %08x\n", hr);
/* Rename the file back to it's original name. SetNameOf ignores the fact, that the
/* Rename the file back to its original name. SetNameOf ignores the fact, that the
* SHGDN flags specify an absolute path. */
hr = IShellFolder_SetNameOf(psfPersonal, NULL, pidlNew, wszFileName, SHGDN_FORPARSING, NULL);
ok (SUCCEEDED(hr), "SetNameOf failed! hr = %08x\n", hr);
......
......@@ -160,7 +160,7 @@ static int FormatDouble(double value, int decimals, LPWSTR pszBuf, int cchBuf)
* Internal helper for SHLWAPI_ChrCmpA/ChrCMPIA.
*
* NOTES
* Both this function and its Unicode counterpart are very inneficient. To
* Both this function and its Unicode counterpart are very inefficient. To
* fix this, CompareString must be completely implemented and optimised
* first. Then the core character test can be taken out of that function and
* placed here, so that it need never be called at all. Until then, do not
......@@ -2172,7 +2172,7 @@ BOOL WINAPI StrIsIntlEqualW(BOOL bCase, LPCWSTR lpszStr, LPCWSTR lpszComp,
* iLen [I] Maximum number of chars to copy
*
* RETURNS
* Success: A pointer to the last character written to lpszDest..
* Success: A pointer to the last character written to lpszDest.
* Failure: lpszDest, if any arguments are invalid.
*/
LPSTR WINAPI StrCpyNXA(LPSTR lpszDest, LPCSTR lpszSrc, int iLen)
......@@ -2772,7 +2772,7 @@ BOOL WINAPI DoesStringRoundTripW(LPCWSTR lpSrcStr, LPSTR lpDst, INT iLen)
/*************************************************************************
* SHLoadIndirectString [SHLWAPI.@]
*
* If passed a string that begins with a '@' extract the string from the
* If passed a string that begins with '@', extract the string from the
* appropriate resource, otherwise do a straight copy.
*
*/
......
......@@ -271,7 +271,7 @@ static int DSDB_CreateMMAP(IDsDriverBufferImpl* pdbi)
psize *= 2;
if (err < 0) {
ERR("Errno %d (%s) occured when setting buffer size\n", err, strerror(errno));
ERR("Errno %d (%s) occurred when setting buffer size\n", err, strerror(errno));
}
#endif
TRACE("mmap'd buffer is an ALSA emulation of hardware buffer.\n");
......
......@@ -883,7 +883,7 @@ void shader_glsl_mov(SHADER_OPCODE_ARG* arg) {
write_mask = shader_glsl_append_dst(buffer, arg);
shader_glsl_add_src_param(arg, arg->src[0], arg->src_addr[0], write_mask, &src0_param);
/* In vs_1_1 WINED3DSIO_MOV can write to the adress register. In later
/* In vs_1_1 WINED3DSIO_MOV can write to the address register. In later
* shader versions WINED3DSIO_MOVA is used for this. */
if ((WINED3DSHADER_VERSION_MAJOR(shader->baseShader.hex_version) == 1 &&
!shader_is_pshader_version(shader->baseShader.hex_version) &&
......
......@@ -817,7 +817,7 @@ static void state_colormat(DWORD state, IWineD3DStateBlockImpl *stateblock, Wine
WineDirect3DStridedData *diffuse = &device->strided_streams.u.s.diffuse;
BOOL isDiffuseSupplied;
/* Depends on the decoded vertex declaration to read the existance of diffuse data.
/* Depends on the decoded vertex declaration to read the existence of diffuse data.
* The vertex declaration will call this function if the fixed function pipeline is used.
*/
......
......@@ -1773,7 +1773,7 @@ static void test_XcvDataW_PortIsValid(void)
res, GetLastError(), needed, status);
/* a normal, writeable file is allowed */
/* a normal, writable file is allowed */
needed = (DWORD) 0xdeadbeef;
status = (DWORD) 0xdeadbeef;
SetLastError(0xdeadbeef);
......
......@@ -362,7 +362,7 @@ inline static DWORD NtStatusToWSAError( const DWORD status )
case STATUS_NO_MEMORY: wserr = WSAEFAULT; break;
default:
if ( status >= WSABASEERR && status <= WSABASEERR+1004 )
/* It is not a NT status code but a winsock error */
/* It is not an NT status code but a winsock error */
wserr = status;
else
{
......
......@@ -374,9 +374,9 @@ typedef struct _DDCAPS_DX7 /* DirectX 7 version of caps struct */
{
DWORD dwSize; /* size of the DDDRIVERCAPS structure */
DWORD dwCaps; /* driver specific capabilities */
DWORD dwCaps2; /* more driver specific capabilites */
DWORD dwCaps2; /* more driver specific capabilities */
DWORD dwCKeyCaps; /* color key capabilities of the surface */
DWORD dwFXCaps; /* driver specific stretching and effects capabilites */
DWORD dwFXCaps; /* driver specific stretching and effects capabilities */
DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */
DWORD dwPalCaps; /* palette capabilities */
DWORD dwSVCaps; /* stereo vision capabilities */
......@@ -435,9 +435,9 @@ typedef struct _DDCAPS_DX6 /* DirectX 6 version of caps struct */
{
DWORD dwSize; /* size of the DDDRIVERCAPS structure */
DWORD dwCaps; /* driver specific capabilities */
DWORD dwCaps2; /* more driver specific capabilites */
DWORD dwCaps2; /* more driver specific capabilities */
DWORD dwCKeyCaps; /* color key capabilities of the surface */
DWORD dwFXCaps; /* driver specific stretching and effects capabilites */
DWORD dwFXCaps; /* driver specific stretching and effects capabilities */
DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */
DWORD dwPalCaps; /* palette capabilities */
DWORD dwSVCaps; /* stereo vision capabilities */
......@@ -497,9 +497,9 @@ typedef struct _DDCAPS_DX5 /* DirectX5 version of caps struct */
{
DWORD dwSize; /* size of the DDDRIVERCAPS structure */
DWORD dwCaps; /* driver specific capabilities */
DWORD dwCaps2; /* more driver specific capabilites */
DWORD dwCaps2; /* more driver specific capabilities */
DWORD dwCKeyCaps; /* color key capabilities of the surface */
DWORD dwFXCaps; /* driver specific stretching and effects capabilites */
DWORD dwFXCaps; /* driver specific stretching and effects capabilities */
DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */
DWORD dwPalCaps; /* palette capabilities */
DWORD dwSVCaps; /* stereo vision capabilities */
......@@ -558,9 +558,9 @@ typedef struct _DDCAPS_DX3 /* DirectX3 version of caps struct */
{
DWORD dwSize; /* size of the DDDRIVERCAPS structure */
DWORD dwCaps; /* driver specific capabilities */
DWORD dwCaps2; /* more driver specific capabilites */
DWORD dwCaps2; /* more driver specific capabilities */
DWORD dwCKeyCaps; /* color key capabilities of the surface */
DWORD dwFXCaps; /* driver specific stretching and effects capabilites */
DWORD dwFXCaps; /* driver specific stretching and effects capabilities */
DWORD dwFXAlphaCaps; /* alpha driver specific capabilities */
DWORD dwPalCaps; /* palette capabilities */
DWORD dwSVCaps; /* stereo vision capabilities */
......
......@@ -263,7 +263,7 @@ typedef struct {
UINT16 wUmax; /* maximum u (5th axis) position value */
UINT16 wVmin; /* minimum v (6th axis) position value */
UINT16 wVmax; /* maximum v (6th axis) position value */
UINT16 wCaps; /* joystick capabilites */
UINT16 wCaps; /* joystick capabilities */
UINT16 wMaxAxes; /* maximum number of axes supported */
UINT16 wNumAxes; /* number of axes in use */
UINT16 wMaxButtons; /* maximum number of buttons supported */
......
......@@ -180,7 +180,7 @@ static int cmp_by_name(const void *a, const void *b)
/**
* Fetch informations from the uninstall key.
* Fetch information from the uninstall key.
*/
static int FetchUninstallInformation(void)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment