Commit e8dbd66c authored by Austin English's avatar Austin English Committed by Alexandre Julliard

oleaut32: Spelling fixes.

parent 16e8633e
......@@ -192,7 +192,7 @@ HRESULT WINAPI CreateStdDispatch(
* Method, property and parameter names can be localised. The details required to
* map names to methods and parameters are collected in a type library, usually
* output by an IDL compiler using the objects IDL description. This information is
* accessible programatically through the ITypeLib interface (for a type library),
* accessible programmatically through the ITypeLib interface (for a type library),
* and the ITypeInfo interface (for an object within the type library). Type information
* can also be created at run-time using CreateDispTypeInfo().
*
......
......@@ -22,7 +22,7 @@
*
* BUGS
*
* Support PICTYPE_BITMAP and PICTYPE_ICON, altough only bitmaps very well..
* Support PICTYPE_BITMAP and PICTYPE_ICON, although only bitmaps very well..
* Lots of methods are just stubs.
*
*
......
......@@ -211,7 +211,7 @@ static HRESULT WINAPI IRecordInfoImpl_RecordClear(IRecordInfo *iface, PVOID pvEx
var = ((PBYTE)pvExisting)+This->fields[i].offset;
switch(This->fields[i].vt) {
case VT_BSTR:
/* NOTE: Windows implementatino reads DWORD (len) before string,
/* NOTE: Windows implementation reads DWORD (len) before string,
* but it seems to do nothing with this */
*(BSTR*)var = NULL;
break;
......
......@@ -483,7 +483,7 @@ HRESULT WINAPI SafeArrayAllocDescriptor(UINT cDims, SAFEARRAY **ppsaOut)
* Failure: An HRESULT error code indicating the error.
*
* NOTES
* - This function does not chack that vt is an allowed VARTYPE.
* - This function does not check that vt is an allowed VARTYPE.
* - Unlike SafeArrayAllocDescriptor(), vt is associated with the array.
* See SafeArray.
*/
......
......@@ -1050,7 +1050,7 @@ static void test_VarParseNumFromStr(void)
EXPECT(1,NUMPRS_HEX_OCT,0,1,0,0);
EXPECT2(0,FAILDIG);
/* Doesn't recognise hex in .asm sytax */
/* Doesn't recognise hex in .asm syntax */
CONVERT("0h", NUMPRS_HEX_OCT);
EXPECT(1,NUMPRS_HEX_OCT,0,1,0,0);
EXPECT2(0,FAILDIG);
......@@ -5261,7 +5261,7 @@ static void test_VarCat(void)
}
}
/* Runnning single comparison tests to compare outputs */
/* Running single comparison tests to compare outputs */
/* Test concat strings */
V_VT(&left) = VT_BSTR;
......@@ -6273,7 +6273,7 @@ static void test_VarCmp(void)
}
}
/* VARCMP{,EX} run each 4 tests with a permutation of all posible
/* VARCMP{,EX} run each 4 tests with a permutation of all possible
input variants with (1) and without (0) VT_RESERVED set. The order
of the permutations is (0,0); (1,0); (0,1); (1,1) */
VARCMP(INT,4711,I2,4711,VARCMP_EQ);
......
......@@ -3322,7 +3322,7 @@ static void test_VarDateFromStr(void)
CHECKPTR(VarDateFromStr);
CHECKPTR(SystemTimeToVariantTime);
/* Some date formats are relative, so we need to find the cuurent year */
/* Some date formats are relative, so we need to find the current year */
GetSystemTime(&st);
st.wHour = st.wMinute = st.wSecond = st.wMilliseconds = 0;
DFS(NULL); EXPECT_MISMATCH;
......@@ -4928,7 +4928,7 @@ static void test_VarBstrCmp(void)
bstr = SysAllocString(sz);
bstrempty = SysAllocString(szempty);
/* NULL handling. Yepp, MSDN is totaly wrong here */
/* NULL handling. Yepp, MSDN is totally wrong here */
VARBSTRCMP(NULL,NULL,0,VARCMP_EQ);
VARBSTRCMP(bstr,NULL,0,VARCMP_GT);
VARBSTRCMP(NULL,bstr,0,VARCMP_LT);
......
......@@ -998,7 +998,7 @@ typedef struct tagITypeInfoImpl
const ITypeInfo2Vtbl *lpVtbl;
const ITypeCompVtbl *lpVtblTypeComp;
LONG ref;
BOOL no_free_data; /* don't free data structurees */
BOOL no_free_data; /* don't free data structures */
TYPEATTR TypeAttr ; /* _lots_ of type information. */
ITypeLibImpl * pTypeLib; /* back pointer to typelib */
int index; /* index in this typelib; */
......@@ -2624,7 +2624,7 @@ static ITypeLib2* ITypeLib2_Constructor_MSFT(LPVOID pLib, DWORD dwTLBLength)
pTypeLibImpl->ctCustData = MSFT_CustData(&cx, tlbHeader.CustomDataOffset, &pTypeLibImpl->pCustData);
}
/* fill in typedescriptions */
/* fill in type descriptions */
if(tlbSegDir.pTypdescTab.length > 0)
{
int i, j, cTD = tlbSegDir.pTypdescTab.length / (2*sizeof(INT));
......@@ -3377,7 +3377,7 @@ static void SLTG_ProcessDispatch(char *pBlk, ITypeInfoImpl *pTI,
SLTG_DoFuncs(pBlk, pBlk + pTITail->funcs_off, pTI, pTITail->cFuncs, pNameTable, ref_lookup);
/* this is necessary to cope with MSFT typelibs that set cFuncs to the number
* of dispinterface functons including the IDispatch ones, so
* of dispinterface functions including the IDispatch ones, so
* ITypeInfo::GetFuncDesc takes the real value for cFuncs from cbSizeVft */
pTI->TypeAttr.cbSizeVft = pTI->TypeAttr.cFuncs * sizeof(void *);
......
......@@ -616,7 +616,7 @@ DGifDecompressLine(GifFileType * GifFile,
LastCode = Private->LastCode;
if (StackPtr != 0) {
/* Let pop the stack off before continueing to read the gif file: */
/* Let pop the stack off before continuing to read the gif file: */
while (StackPtr != 0 && i < LineLen)
Line[i++] = Stack[--StackPtr];
}
......@@ -626,7 +626,7 @@ DGifDecompressLine(GifFileType * GifFile,
return GIF_ERROR;
if (CrntCode == EOFCode) {
/* Note however that usually we will not be here as we will stop
/* Note, however, that usually we will not be here as we will stop
* decoding as soon as we got all the pixel, or EOF code will
* not be read at all, and DGifGetLine/Pixel clean everything. */
if (i != LineLen - 1 || Private->PixelCount != 0) {
......
......@@ -44,7 +44,7 @@
* History:
* 14 Jun 89 - Version 1.0 by Gershon Elber.
* 3 Sep 90 - Version 1.1 by Gershon Elber (Support for Gif89, Unique names)
* 15 Sep 90 - Version 2.0 by Eric S. Raymond (Changes to suoport GIF slurp)
* 15 Sep 90 - Version 2.0 by Eric S. Raymond (Changes to support GIF slurp)
* 26 Jun 96 - Version 3.0 by Eric S. Raymond (Full GIF89 support)
* 17 Dec 98 - Version 4.0 by Toshio Kuratomi (Fix extension writing code)
*****************************************************************************/
......
......@@ -151,7 +151,7 @@ static const WCHAR szPercentZeroStar_d[] = { '%','0','*','d','\0' };
* Common format definitions
*/
/* Fomat types */
/* Format types */
#define FMT_TYPE_UNKNOWN 0x0
#define FMT_TYPE_GENERAL 0x1
#define FMT_TYPE_NUMBER 0x2
......
......@@ -6,7 +6,7 @@
* Copyright 2005 Daniel Remenak
* Copyright 2006 Google (Benjamin Arai)
*
* The alorithm for conversion from Julian days to day/month/year is based on
* The algorithm for conversion from Julian days to day/month/year is based on
* that devised by Henry Fliegel, as implemented in PostgreSQL, which is
* Copyright 1994-7 Regents of the University of California
*
......@@ -1108,7 +1108,7 @@ static HRESULT VARIANT_RollUdate(UDATE *lpUd)
{
lpUd->st.wMonth--; /* Previous month */
if (lpUd->st.wMonth == 2 && IsLeapYear(lpUd->st.wYear))
lpUd->st.wDay = 29; /* Februaury has 29 days on leap years */
lpUd->st.wDay = 29; /* February has 29 days on leap years */
else
lpUd->st.wDay = days[lpUd->st.wMonth]; /* Last day of the month */
}
......@@ -1119,7 +1119,7 @@ static HRESULT VARIANT_RollUdate(UDATE *lpUd)
/* Possibly need to roll the date forward */
if (lpUd->st.wMonth == 2 && IsLeapYear(lpUd->st.wYear))
rollForward = lpUd->st.wDay - 29; /* Februaury has 29 days on leap years */
rollForward = lpUd->st.wDay - 29; /* February has 29 days on leap years */
else
rollForward = lpUd->st.wDay - days[lpUd->st.wMonth];
......@@ -1915,7 +1915,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
* NOTES
* - The smallest favoured type present in dwVtBits that can represent the
* number in pNumprs without losing precision is used.
* - Signed types are preferrred over unsigned types of the same size.
* - Signed types are preferred over unsigned types of the same size.
* - Preferred types in order are: integer, float, double, currency then decimal.
* - Rounding (dropping of decimal points) occurs without error. See VarI8FromR8()
* for details of the rounding method.
......@@ -1924,7 +1924,7 @@ HRESULT WINAPI VarParseNumFromStr(OLECHAR *lpszStr, LCID lcid, ULONG dwFlags,
* design?): If some other VTBIT's for integers are specified together
* with VTBIT_I8 and the number will fit only in a VT_I8 Windows will "cast"
* the number to the smallest requested integer truncating this way the
* number. Wine dosn't implement this "feature" (yet?).
* number. Wine doesn't implement this "feature" (yet?).
*/
HRESULT WINAPI VarNumFromParseNum(NUMPARSE *pNumprs, BYTE *rgbDig,
ULONG dwVtBits, VARIANT *pVarDst)
......@@ -2517,7 +2517,7 @@ HRESULT WINAPI VarCat(LPVARIANT left, LPVARIANT right, LPVARIANT out)
else
hres = DISP_E_BADVARTYPE;
/* if resutl type is not S_OK, then no need to go further */
/* if result type is not S_OK, then no need to go further */
if (hres != S_OK)
{
V_VT(out) = resultvt;
......
......@@ -5311,7 +5311,7 @@ static HRESULT VARIANT_DI_normalize(VARIANT_DI * val, int exponent2, int isDoubl
VARIANT_int_add(val->bitsnum, 3, &x, 1);
}
}
/* This step is requierd in order to remove excess bits of precision from the
/* This step is requiered in order to remove excess bits of precision from the
end of the bit representation, down to the precision guaranteed by the
floating point number. */
if (isDouble) {
......@@ -7348,7 +7348,7 @@ VARIANT_MakeDate_OK:
*
* RETURNS
* Success: S_OK. pdateOut contains the converted value.
* FAILURE: An HRESULT error code indicating the prolem.
* FAILURE: An HRESULT error code indicating the problem.
*
* NOTES
* Any date format that can be created using the date formats from lcid
......
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