Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2004-03-23 23:20:16 +00:00 committed by Alexandre Julliard
parent fe334f7e20
commit b948778660
14 changed files with 29 additions and 28 deletions

View File

@ -2516,13 +2516,13 @@ REBAR_HandleLRDrag (REBAR_INFO *infoPtr, POINTS *ptsmove)
}
}
if (RHeaderSum) RHeaderSum -= SEP_WIDTH; /* no separator afterlast band */
if (RHeaderSum) RHeaderSum -= SEP_WIDTH; /* no separator after last band */
mindBand = &infoPtr->bands[imindBand];
maxdBand = &infoPtr->bands[imaxdBand];
if (imindBand == imaxdBand) return; /* nothing to drag agains */
if (imindBand == ihitBand) return; /* first band in row, cant drag */
if (imindBand == imaxdBand) return; /* nothing to drag against */
if (imindBand == ihitBand) return; /* first band in row, can't drag */
/* limit movement to inside adjustable bands - Left */
if ( (ptsmove->x < mindBand->rcBand.left) ||

View File

@ -1013,7 +1013,7 @@ void set_tex_op(LPDIRECT3DDEVICE8 iface, BOOL isAlpha, int Stage, D3DTEXTUREOP o
op2 = This->UpdateStateBlock->texture_state[Stage][D3DTSS_ALPHAOP];
}
/* Note: If COMBINE4 in effect cant go back to combine! */
/* Note: If COMBINE4 in effect can't go back to combine! */
switch (op2)
{
case D3DTOP_ADDSMOOTH:

View File

@ -2265,8 +2265,8 @@ INT WINAPI CompareStringW(LCID lcid, DWORD style,
* Compare two locale sensitive strings.
*
* PARAMS
* lcid [I] LCID for the comparason
* style [I] Flags for the comparason (NORM_ constants from "winnls.h").
* lcid [I] LCID for the comparison
* style [I] Flags for the comparison (NORM_ constants from "winnls.h").
* str1 [I] First string to compare
* len1 [I] Length of str1, or -1 if str1 is NUL terminated
* str2 [I] Second string to compare

View File

@ -530,7 +530,7 @@ BOOLEAN WINAPI RtlPrefixUnicodeString( const UNICODE_STRING *s1,
* 0 if the names are equal, non-zero otherwise.
*
* NOTES
* The comparason is case insensitive.
* The comparison is case insensitive.
*/
NTSTATUS WINAPI RtlEqualComputerName(const UNICODE_STRING *left,
const UNICODE_STRING *right)
@ -564,7 +564,7 @@ NTSTATUS WINAPI RtlEqualComputerName(const UNICODE_STRING *left,
* 0 if the names are equal, non-zero otherwise.
*
* NOTES
* The comparason is case insensitive.
* The comparison is case insensitive.
*/
NTSTATUS WINAPI RtlEqualDomainName(const UNICODE_STRING *left,
const UNICODE_STRING *right)

View File

@ -1588,22 +1588,22 @@ HINSTANCE WINAPI CoLoadLibrary(LPOLESTR lpszLibName, BOOL bAutoFree)
/***********************************************************************
* CoFreeLibrary [OLE32.@]
*
* NOTES: don't belive the docu
* NOTES: don't believe the documentation
*/
void WINAPI CoFreeLibrary(HINSTANCE hLibrary)
{
FreeLibrary(hLibrary);
FreeLibrary(hLibrary);
}
/***********************************************************************
* CoFreeAllLibraries [OLE32.@]
*
* NOTES: don't belive the docu
* NOTES: don't believe the documentation
*/
void WINAPI CoFreeAllLibraries(void)
{
/* NOP */
/* NOP */
}

View File

@ -565,7 +565,7 @@ LPVOID WINAPI CoTaskMemRealloc(LPVOID pvOld, ULONG size)
* CoRegisterMallocSpy [OLE32.@]
*
* NOTES
* if a mallocspy is already registered, we cant do it again since
* if a mallocspy is already registered, we can't do it again since
* only the spy knows, how to free a memory block
*/
HRESULT WINAPI CoRegisterMallocSpy(LPMALLOCSPY pMallocSpy)

View File

@ -1240,7 +1240,7 @@ HRESULT WINAPI SafeArrayDestroyData(SAFEARRAY *psa)
return E_INVALIDARG;
if (psa->cLocks)
return DISP_E_ARRAYISLOCKED; /* Cant delete a locked array */
return DISP_E_ARRAYISLOCKED; /* Can't delete a locked array */
if (psa->pvData)
{

View File

@ -3270,8 +3270,8 @@ static void test_VarDateFromStr(void)
/* If the numbers can't be day/month, they are assumed to be year/month */
DFS("30 2"); EXPECT_DBL(10990.0);
DFS("2 30"); EXPECT_DBL(10990.0);
DFS("32 49"); EXPECT_MISMATCH; /* Cant be any format */
DFS("0 49"); EXPECT_MISMATCH; /* Cant be any format */
DFS("32 49"); EXPECT_MISMATCH; /* Can't be any format */
DFS("0 49"); EXPECT_MISMATCH; /* Can't be any format */
/* If a month name is given the other number is the day */
DFS("Jan 2"); MKRELDATE(2,1); EXPECT_DBL(relative);
DFS("2 Jan"); EXPECT_DBL(relative);

View File

@ -3848,7 +3848,7 @@ HRESULT WINAPI VarCyRound(const CY cyIn, int cDecimals, CY* pCyOut)
* RETURNS
* Success: VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that the value to
* compare is less, equal or greater than source respectively.
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparason
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparison
*/
HRESULT WINAPI VarCyCmp(const CY cyLeft, const CY cyRight)
{
@ -3882,7 +3882,7 @@ HRESULT WINAPI VarCyCmp(const CY cyLeft, const CY cyRight)
* RETURNS
* Success: VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that dblRight is
* less than, equal to or greater than cyLeft respectively.
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparason
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparison
*/
HRESULT WINAPI VarCyCmpR8(const CY cyLeft, double dblRight)
{
@ -4677,7 +4677,7 @@ HRESULT WINAPI VarDecRound(const DECIMAL* pDecIn, int cDecimals, DECIMAL* pDecOu
* RETURNS
* Success: VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that pDecLeft
* is less than, equal to or greater than pDecRight respectively.
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparason
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparison
*/
HRESULT WINAPI VarDecCmp(const DECIMAL* pDecLeft, const DECIMAL* pDecRight)
{
@ -4713,7 +4713,7 @@ HRESULT WINAPI VarDecCmp(const DECIMAL* pDecLeft, const DECIMAL* pDecRight)
* RETURNS
* Success: VARCMP_LT, VARCMP_EQ or VARCMP_GT indicating that dblRight
* is less than, equal to or greater than pDecLeft respectively.
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparason
* Failure: DISP_E_OVERFLOW, if overflow occurs during the comparison
*/
HRESULT WINAPI VarDecCmpR8(const DECIMAL* pDecLeft, double dblRight)
{
@ -5706,7 +5706,7 @@ HRESULT WINAPI VarBstrCat(BSTR pbstrLeft, BSTR pbstrRight, BSTR *pbstrOut)
* PARAMS
* pbstrLeft [I] Source
* pbstrRight [I] Value to compare
* lcid [I] LCID for the comparason
* lcid [I] LCID for the comparison
* dwFlags [I] Flags to pass directly to CompareStringW().
*
* RETURNS

View File

@ -296,7 +296,7 @@ void SIC_Destroy(void)
* Shell_GetImageList [SHELL32.71]
*
* PARAMETERS
* imglist[1|2] [OUT] pointer which recive imagelist handles
* imglist[1|2] [OUT] pointer which receives imagelist handles
*
*/
BOOL WINAPI Shell_GetImageList(HIMAGELIST * lpBigList, HIMAGELIST * lpSmallList)

View File

@ -1152,7 +1152,7 @@ HRESULT WINAPI SHGetSpecialFolderLocation(
* SHGetFolderLocation [SHELL32.@]
*
* NOTES
* the pidl can be a simple one. since we cant get the path out of the pidl
* the pidl can be a simple one. since we can't get the path out of the pidl
* we have to take all data from the pidl
*/
HRESULT WINAPI SHGetFolderLocation(
@ -1171,7 +1171,7 @@ HRESULT WINAPI SHGetFolderLocation(
* SHGetDataFromIDListA [SHELL32.247]
*
* NOTES
* the pidl can be a simple one. since we cant get the path out of the pidl
* the pidl can be a simple one. since we can't get the path out of the pidl
* we have to take all data from the pidl
*/
HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID dest, int len)

View File

@ -1962,8 +1962,9 @@ DWORD WINAPI SHGetCurColorRes()
* dwTimeout [I] Timeout in ticks or INFINITE to never timeout
*
* RETURNS
* STATUS_TIMEOUT if no message is recieved before dwTimeout ticks passes.
* Otherwise returns value from MsgWaitForMultipleObjectsEx when a message is available.
* STATUS_TIMEOUT if no message is received before dwTimeout ticks passes.
* Otherwise returns the value from MsgWaitForMultipleObjectsEx when a
* message is available.
*/
DWORD WINAPI SHWaitForSendMessageThread(HANDLE hand, DWORD dwTimeout)
{

View File

@ -190,7 +190,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
lpbmi = (LPBITMAPINFOHEADER)decodedframe;
decodedbits = (LPVOID)(((DWORD)decodedframe)+lpbmi->biSize);
if (lpbmi->biBitCount == 8) {
/* cant detect palette change that way I think */
/* can't detect palette change that way I think */
RGBQUAD *rgb = (RGBQUAD*)(lpbmi+1);
int i,palchanged;

View File

@ -208,7 +208,7 @@ FILE *open_file (const char *name, const char *ext, const char *mode)
fp = fopen (fname, mode);
if (!fp)
fatal ("Cant open file");
fatal ("Can't open file");
return fp;
}