From 2bf56da64895d22d5047dceaf46a38bacf74db95 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 21 Apr 2008 00:17:27 -0500 Subject: [PATCH] Spelling fixes --- dlls/mciwave/mciwave.c | 8 ++++---- dlls/msvcrt/dir.c | 2 +- dlls/ntdll/tests/rtl.c | 4 ++-- dlls/ntdll/tests/string.c | 2 +- dlls/odbccp32/tests/misc.c | 2 +- dlls/oleaut32/variant.c | 16 ++++++++-------- dlls/oleaut32/vartype.c | 2 +- dlls/quartz/avisplit.c | 4 ++-- dlls/quartz/dsoundrender.c | 2 +- dlls/riched20/style.c | 2 +- dlls/rpcrt4/ndr_marshall.c | 4 ++-- dlls/serialui/confdlg.c | 2 +- dlls/setupapi/devinst.c | 2 +- dlls/setupapi/tests/stringtable.c | 2 +- dlls/setupapi/virtcopy.c | 2 +- dlls/shell32/shell.c | 2 +- dlls/shell32/shlfileop.c | 10 +++++----- dlls/shell32/tests/shlfileop.c | 8 ++++---- dlls/shlwapi/ordinal.c | 10 +++++----- dlls/shlwapi/path.c | 8 ++++---- dlls/shlwapi/reg.c | 2 +- dlls/shlwapi/resource.h | 2 +- dlls/shlwapi/string.c | 4 ++-- dlls/shlwapi/url.c | 4 ++-- dlls/spoolss/tests/spoolss.c | 2 +- 25 files changed, 54 insertions(+), 54 deletions(-) diff --git a/dlls/mciwave/mciwave.c b/dlls/mciwave/mciwave.c index 75b85d5..2e0a9bc 100644 --- a/dlls/mciwave/mciwave.c +++ b/dlls/mciwave/mciwave.c @@ -1015,11 +1015,11 @@ static DWORD WAVE_mciRecord(MCIDEVICEID wDevID, DWORD dwFlags, LPMCI_RECORD_PARM wmw->dwPosition = WAVE_ALIGN_ON_BLOCK(wmw, wmw->dwPosition); wmw->ckWaveData.cksize = WAVE_ALIGN_ON_BLOCK(wmw, wmw->ckWaveData.cksize); - /* go back to beginning of chunk plus the requested position */ + /* Go back to the beginning of the chunk plus the requested position */ /* FIXME: I'm not sure this is correct, notably because some data linked to - * the decompression state machine will not be correcly initialized. - * try it this way (other way would be to decompress from 0 up to dwPosition - * and to start sending to hWave when dwPosition is reached) + * the decompression state machine will not be correctly initialized. + * Try it this way (other way would be to decompress from 0 up to dwPosition + * and to start sending to hWave when dwPosition is reached). */ mmioSeek(wmw->hFile, wmw->ckWaveData.dwDataOffset + wmw->dwPosition, SEEK_SET); /* >= 0 */ diff --git a/dlls/msvcrt/dir.c b/dlls/msvcrt/dir.c index 2ca74a9..7b1199c 100644 --- a/dlls/msvcrt/dir.c +++ b/dlls/msvcrt/dir.c @@ -942,7 +942,7 @@ VOID CDECL _wmakepath(MSVCRT_wchar_t *path, const MSVCRT_wchar_t *drive, const M /********************************************************************* * _searchenv (MSVCRT.@) * - * Search for a file in a list of paths from an envronment variable. + * Search for a file in a list of paths from an environment variable. * * PARAMS * file [I] Name of the file to search for. diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c index 3fdb864..443b987 100644 --- a/dlls/ntdll/tests/rtl.c +++ b/dlls/ntdll/tests/rtl.c @@ -661,7 +661,7 @@ static void test_RtlRandom(void) seed, seed_expected); /* * Seed is set to the same value as before but the result is different. - * To see more we call RtlRandom aggain with seed set to 0: + * To see more we call RtlRandom again with seed set to 0: */ seed = 0; result_expected = 0x7fffffc3; @@ -674,7 +674,7 @@ static void test_RtlRandom(void) "RtlRandom(&seed (seed == 0)) sets seed to %x, expected %x\n", seed, seed_expected); /* - * Seed is aggain set to the same value as before. This time we also + * Seed is again set to the same value as before. This time we also * have the same result as before. Interestingly the value of the * result is 0x7fffffc3 which is the same value used in RtlUniform * as const_2. If we do diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c index 4a7a497..e9bf5e1 100644 --- a/dlls/ntdll/tests/string.c +++ b/dlls/ntdll/tests/string.c @@ -1016,7 +1016,7 @@ static const str2longlong_t str2longlong[] = { { "0o7", 0 }, /* one digit octal */ { "0o8", 0 }, /* empty octal */ { "0o", 0 }, /* empty octal */ - { "0d1011101100", 0 }, /* explizit decimal with 0d */ + { "0d1011101100", 0 }, /* explicit decimal with 0d */ { "x89abcdef", 0 }, /* Hex with lower case digits a-f (x-notation) */ { "xFEDCBA00", 0 }, /* Hex with upper case digits A-F (x-notation) */ { "-xFEDCBA00", 0 }, /* Negative Hexadecimal (x-notation) */ diff --git a/dlls/odbccp32/tests/misc.c b/dlls/odbccp32/tests/misc.c index f5ea536..ba8e5f4 100644 --- a/dlls/odbccp32/tests/misc.c +++ b/dlls/odbccp32/tests/misc.c @@ -58,7 +58,7 @@ static void test_SQLInstallerError(void) sql_ret = SQLInstallerError(0, NULL, NULL, 0, NULL); ok(sql_ret == SQL_ERROR, "SQLInstallerError(0...) failed with %d instead of SQL_ERROR\n", sql_ret); /* However numbers greater than 8 do not return SQL_ERROR. - * I am currenly unsure as to whether it should return SQL_NO_DATA or "the same as for error 8"; + * I am currently unsure as to whether it should return SQL_NO_DATA or "the same as for error 8"; * I have never been able to generate 8 errors to test it */ sql_ret = SQLInstallerError(65535, NULL, NULL, 0, NULL); diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index c44d810..4eecfce 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -2666,8 +2666,8 @@ static HRESULT _VarChangeTypeExWrap (VARIANTARG* pvargDest, * Failure: An HRESULT error code indicating the error. * * NOTES - * Native VarCmp up to and including WinXP dosn't like as input variants - * I1, UI2, VT_UI4, UI8 and UINT. INT is accepted only as left variant. + * Native VarCmp up to and including WinXP doesn't like I1, UI2, VT_UI4, + * UI8 and UINT as input variants. INT is accepted only as left variant. * * If both input variants are ERROR then VARCMP_EQ will be returned, else * an ERROR variant will trigger an error. @@ -3115,10 +3115,10 @@ VarAnd_Exit: * Failure: An HRESULT error code indicating the error. * * NOTES - * Native VarAdd up to and including WinXP dosn't like as input variants - * I1, UI2, UI4, UI8, INT and UINT. + * Native VarAdd up to and including WinXP doesn't like I1, UI2, UI4, + * UI8, INT and UINT as input variants. * - * Native VarAdd dosn't check for NULL in/out pointers and crashes. We do the + * Native VarAdd doesn't check for NULL in/out pointers and crashes. We do the * same here. * * FIXME @@ -3330,10 +3330,10 @@ end: * Failure: An HRESULT error code indicating the error. * * NOTES - * Native VarMul up to and including WinXP dosn't like as input variants - * I1, UI2, UI4, UI8, INT and UINT. But it can multiply apples with oranges. + * Native VarMul up to and including WinXP doesn't like I1, UI2, UI4, + * UI8, INT and UINT as input variants. But it can multiply apples with oranges. * - * Native VarMul dosn't check for NULL in/out pointers and crashes. We do the + * Native VarMul doesn't check for NULL in/out pointers and crashes. We do the * same here. * * FIXME diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index 93c5615..7531508 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -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 requiered in order to remove excess bits of precision from the + /* This step is required 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) { diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c index 89c02d4..7bb2323 100644 --- a/dlls/quartz/avisplit.c +++ b/dlls/quartz/avisplit.c @@ -737,7 +737,7 @@ static HRESULT AVISplitter_InitializeStreams(AVISplitterImpl *This) nMax = This->oldindex->cb / sizeof(This->oldindex->aIndex[0]); - /* Ok, maybe this is more an excercize to see if I interpret everything correctly or not, but that is useful for now */ + /* Ok, maybe this is more of an excercise to see if I interpret everything correctly or not, but that is useful for now. */ for (n = 0; n < nMax; ++n) { DWORD streamId = StreamFromFOURCC(This->oldindex->aIndex[n].dwChunkId); @@ -914,7 +914,7 @@ static HRESULT AVISplitter_InputPin_PreConnect(IPin * iface, IPin * pConnectPin) IAsyncReader_Length(This->pReader, &total, &avail); - /* FIXME: AVIX files are added ("eXtended") beyond the "AVI " length, and thus won't be played here */ + /* FIXME: AVIX files are added ("eXtended") beyond the "AVI" length, and thus won't be played here */ if (hr == S_OK) { This->rtStart = pAviSplit->CurrentChunkOffset = MEDIATIME_FROM_BYTES(pos + sizeof(RIFFLIST)); diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c index 50892c0..1dc6a05 100644 --- a/dlls/quartz/dsoundrender.c +++ b/dlls/quartz/dsoundrender.c @@ -79,7 +79,7 @@ typedef struct DSoundRenderImpl long pan; } DSoundRenderImpl; -/* Seeking is not needed for a renderer, rely on newsegment for the appropiate changes */ +/* Seeking is not needed for a renderer, rely on newsegment for the appropriate changes */ static HRESULT sound_mod_stop(IBaseFilter *iface) { TRACE("(%p)\n", iface); diff --git a/dlls/riched20/style.c b/dlls/riched20/style.c index 8ede1e2..0ec822e 100644 --- a/dlls/riched20/style.c +++ b/dlls/riched20/style.c @@ -341,7 +341,7 @@ void ME_CharFormatFromLogFont(HDC hDC, const LOGFONTW *lf, CHARFORMAT2W *fmt) if (lf->lfItalic) fmt->dwEffects |= CFM_ITALIC; if (lf->lfUnderline) fmt->dwEffects |= CFM_UNDERLINE; /* notice that if a logfont was created with underline due to CFM_LINK, this - would add an erronous CFM_UNDERLINE. This isn't currently ever a problem */ + would add an erroneous CFM_UNDERLINE. This isn't currently ever a problem. */ if (lf->lfStrikeOut) fmt->dwEffects |= CFM_STRIKEOUT; fmt->bPitchAndFamily = lf->lfPitchAndFamily; fmt->bCharSet = lf->lfCharSet; diff --git a/dlls/rpcrt4/ndr_marshall.c b/dlls/rpcrt4/ndr_marshall.c index 5841dc9..d2ef11b 100644 --- a/dlls/rpcrt4/ndr_marshall.c +++ b/dlls/rpcrt4/ndr_marshall.c @@ -1930,7 +1930,7 @@ unsigned char * WINAPI NdrPointerUnmarshall(PMIDL_STUB_MESSAGE pStubMsg, TRACE("(%p,%p,%p,%d)\n", pStubMsg, ppMemory, pFormat, fMustAlloc); - /* incremement the buffer here instead of in PointerUnmarshall, + /* Increment the buffer here instead of in PointerUnmarshall, * as that is used by embedded pointers which already handle the incrementing * the buffer, and shouldn't read any additional pointer data from the * buffer */ @@ -1957,7 +1957,7 @@ void WINAPI NdrPointerBufferSize(PMIDL_STUB_MESSAGE pStubMsg, { TRACE("(%p,%p,%p)\n", pStubMsg, pMemory, pFormat); - /* incremement the buffer length here instead of in PointerBufferSize, + /* Increment the buffer length here instead of in PointerBufferSize, * as that is used by embedded pointers which already handle the buffer * length, and shouldn't write anything more to the wire */ if (*pFormat != RPC_FC_RP) diff --git a/dlls/serialui/confdlg.c b/dlls/serialui/confdlg.c index 52dcaf0..d281c78 100644 --- a/dlls/serialui/confdlg.c +++ b/dlls/serialui/confdlg.c @@ -168,7 +168,7 @@ static void SERIALUI_AddConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, DWORD } /* - * Get the current sellection of the given combo box and set a DCB field to + * Get the current selection of the given combo box and set a DCB field to * the value matching that selection. */ static BOOL SERIALUI_GetConfItems(HWND hDlg, DWORD id, LPCPARAM2STR table, LPDWORD lpdwVal) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index 2b0f920..7613814 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -1139,7 +1139,7 @@ SetupDiCreateDeviceInfoListExA(const GUID *ClassGuid, * Create an empty DeviceInfoSet list. * * PARAMS - * ClassGuid [I] if not NULL only devices with GUID ClcassGuid are associated + * ClassGuid [I] if not NULL only devices with GUID ClassGuid are associated * with this list. * hwndParent [I] hwnd needed for interface related actions. * MachineName [I] name of machine to create emtpy DeviceInfoSet list, if NULL diff --git a/dlls/setupapi/tests/stringtable.c b/dlls/setupapi/tests/stringtable.c index d48984a..1b8f2f4 100644 --- a/dlls/setupapi/tests/stringtable.c +++ b/dlls/setupapi/tests/stringtable.c @@ -187,7 +187,7 @@ START_TEST(stringtable) test_StringTableLookUpString(); test_StringTableStringFromId(); - /* assume we can always distroy */ + /* assume we can always destroy */ pStringTableDestroy(table); pStringTableDestroy(table2); } diff --git a/dlls/setupapi/virtcopy.c b/dlls/setupapi/virtcopy.c index b969d1d..9dddc88 100644 --- a/dlls/setupapi/virtcopy.c +++ b/dlls/setupapi/virtcopy.c @@ -539,7 +539,7 @@ RETERR16 WINAPI VcpClose16(WORD fl, LPCSTR lpszBackupDest) TRACE("(%04x, '%s')\n", fl, lpszBackupDest); - /* FIXME: needs to sort virtnodes in case VCPFL_INSPECIFIEDORDER + /* FIXME: needs to sort VIRTNODEs in case VCPFL_INSPECIFIEDORDER * is not set. This is done by VCP_Callback(VCPM_NODECOMPARE) */ TRACE("#1\n"); diff --git a/dlls/shell32/shell.c b/dlls/shell32/shell.c index 981e28c..2cc0f54 100644 --- a/dlls/shell32/shell.c +++ b/dlls/shell32/shell.c @@ -560,7 +560,7 @@ DWORD WINAPI RegSetValue16( HKEY hkey, LPCSTR name, DWORD type, LPCSTR data, DWO * * HACK * The 16bit RegQueryValue doesn't handle selectorblocks anyway, so we just - * mask out the high 16 bit. This (not so much incidently) hopefully fixes + * mask out the high 16 bit. This (not so much incidentally) hopefully fixes * Aldus FH4) */ DWORD WINAPI RegQueryValue16( HKEY hkey, LPCSTR name, LPSTR data, LPDWORD count diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c index 89a6175..76f1309 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -649,11 +649,11 @@ static DWORD SHNotifyCopyFileW(LPCWSTR src, LPCWSTR dest, BOOL bFailIfExists) * path [I] path of directory to create * * RETURNS - * ERRROR_SUCCESS or one of the following values: + * ERROR_SUCCESS or one of the following values: * ERROR_BAD_PATHNAME if the path is relative * ERROR_FILE_EXISTS when a file with that name exists * ERROR_PATH_NOT_FOUND can't find the path, probably invalid - * ERROR_INVLID_NAME if the path contains invalid chars + * ERROR_INVALID_NAME if the path contains invalid chars * ERROR_ALREADY_EXISTS when the directory already exists * ERROR_FILENAME_EXCED_RANGE if the filename was to long to process * @@ -682,9 +682,9 @@ DWORD WINAPI SHCreateDirectory(HWND hWnd, LPCVOID path) * sec [I] security attributes to use or NULL * * RETURNS - * ERRROR_SUCCESS or one of the following values: + * ERROR_SUCCESS or one of the following values: * ERROR_BAD_PATHNAME or ERROR_PATH_NOT_FOUND if the path is relative - * ERROR_INVLID_NAME if the path contains invalid chars + * ERROR_INVALID_NAME if the path contains invalid chars * ERROR_FILE_EXISTS when a file with that name exists * ERROR_ALREADY_EXISTS when the directory already exists * ERROR_FILENAME_EXCED_RANGE if the filename was to long to process @@ -1552,7 +1552,7 @@ int WINAPI SHFileOperationW(LPSHFILEOPSTRUCTW lpFileOp) /************************************************************************* * SHFreeNameMappings [shell32.246] * - * Free the mapping handle returned by SHFileoperation if FOF_WANTSMAPPINGHANDLE + * Free the mapping handle returned by SHFileOperation if FOF_WANTSMAPPINGHANDLE * was specified. * * PARAMS diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c index 223828e..e940c86 100644 --- a/dlls/shell32/tests/shlfileop.c +++ b/dlls/shell32/tests/shlfileop.c @@ -809,7 +809,7 @@ static void test_copy(void) shfo.pFrom = "test1.txt\0"; shfo.pTo = "test2.txt\0"; shfo.fAnyOperationsAborted = FALSE; - /* without FOF_NOCOFIRMATION the confirmation is Yes/No */ + /* without FOF_NOCONFIRMATION the confirmation is Yes/No */ retval = SHFileOperation(&shfo); ok(retval == 0, "Expected 0, got %d\n", retval); ok(file_has_content("test2.txt", "test1.txt\n"), "The file was not copied\n"); @@ -817,7 +817,7 @@ static void test_copy(void) shfo.pFrom = "test3.txt\0test1.txt\0"; shfo.pTo = "test2.txt\0one.txt\0"; shfo.fFlags = FOF_NOCONFIRMATION | FOF_MULTIDESTFILES; - /* without FOF_NOCOFIRMATION the confirmation is Yes/Yes to All/No/Cancel */ + /* without FOF_NOCONFIRMATION the confirmation is Yes/Yes to All/No/Cancel */ retval = SHFileOperation(&shfo); ok(retval == 0, "Expected 0, got %d\n", retval); ok(file_has_content("test2.txt", "test3.txt\n"), "The file was not copied\n"); @@ -825,7 +825,7 @@ static void test_copy(void) shfo.pFrom = "one.txt\0"; shfo.pTo = "testdir2\0"; shfo.fFlags = FOF_NOCONFIRMATION; - /* without FOF_NOCOFIRMATION the confirmation is Yes/No */ + /* without FOF_NOCONFIRMATION the confirmation is Yes/No */ retval = SHFileOperation(&shfo); ok(retval == 0, "Expected 0, got %d\n", retval); ok(file_has_content("testdir2\\one.txt", "test1.txt\n"), "The file was not copied\n"); @@ -836,7 +836,7 @@ static void test_copy(void) shfo.fFlags = FOF_NOCONFIRMATION; ok(!SHFileOperation(&shfo), "First SHFileOperation failed\n"); createTestFile("test4.txt\\.\\test1.txt"); /* modify the content of the file */ - /* without FOF_NOCOFIRMATION the confirmation is "This folder already contains a folder named ..." */ + /* without FOF_NOCONFIRMATION the confirmation is "This folder already contains a folder named ..." */ retval = SHFileOperation(&shfo); ok(retval == 0, "Expected 0, got %d\n", retval); ok(file_has_content("testdir2\\test4.txt\\test1.txt", "test4.txt\\.\\test1.txt\n"), "The file was not copied\n"); diff --git a/dlls/shlwapi/ordinal.c b/dlls/shlwapi/ordinal.c index 6aca53d..d9ee15c 100644 --- a/dlls/shlwapi/ordinal.c +++ b/dlls/shlwapi/ordinal.c @@ -62,7 +62,7 @@ HRESULT WINAPI SHInvokeCommand(HWND,IShellFolder*,LPCITEMIDLIST,BOOL); BOOL WINAPI SHAboutInfoW(LPWSTR,DWORD); /* - NOTES: Most functions exported by ordinal seem to be superflous. + NOTES: Most functions exported by ordinal seem to be superfluous. The reason for these functions to be there is to provide a wrapper for unicode functions to provide these functions on systems without unicode functions eg. win95/win98. Since we have such functions we just @@ -1959,7 +1959,7 @@ DWORD WINAPI SHFillRectClr(HDC hDC, LPCRECT pRect, COLORREF cRef) /************************************************************************* * @ [SHLWAPI.198] * - * Return the value asociated with a key in a map. + * Return the value associated with a key in a map. * * PARAMS * lpKeys [I] A list of keys of length iLen @@ -2101,7 +2101,7 @@ typedef struct /************************************************************************* * @ [SHLWAPI.208] * - * Initialize an FDSA arrary. + * Initialize an FDSA array. */ BOOL WINAPI FDSA_Initialize(DWORD block_size, DWORD inc, FDSA_info *info, void *mem, DWORD init_blocks) @@ -2543,7 +2543,7 @@ DWORD WINAPI SHGetRestriction(LPCWSTR lpSubKey, LPCWSTR lpSubName, LPCWSTR lpVal * NOTES * This function is used by the native SHRestricted function to search for the * policy and cache it once retrieved. The current Wine implementation uses a - * different POLICYDATA structure and implements a similar algorithme adapted to + * different POLICYDATA structure and implements a similar algorithm adapted to * that structure. */ DWORD WINAPI SHRestrictionLookup( @@ -3433,7 +3433,7 @@ COLORREF WINAPI ColorAdjustLuma(COLORREF cRGB, int dwLuma, BOOL bUnknown) FIXME("Ignoring luma adjustment\n"); - /* FIXME: The ajdustment is not linear */ + /* FIXME: The adjustment is not linear */ cRGB = ColorHLSToRGB(wH, wL, wS); } diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c index ae9c991..d0d4e93 100644 --- a/dlls/shlwapi/path.c +++ b/dlls/shlwapi/path.c @@ -894,7 +894,7 @@ VOID WINAPI PathRemoveBlanksW(LPWSTR lpszPath) /************************************************************************* * PathQuoteSpacesA [SHLWAPI.@] * - * Surround a path containg spaces in quotes. + * Surround a path containing spaces in quotes. * * PARAMS * lpszPath [I/O] Path to quote @@ -2040,7 +2040,7 @@ BOOL WINAPI PathIsContentTypeW(LPCWSTR lpszPath, LPCWSTR lpszContentType) * Determine if a path is a file specification. * * PARAMS - * lpszPath [I] Path to chack + * lpszPath [I] Path to check * * RETURNS * TRUE If lpszPath is a file specification (i.e. Contains no directories). @@ -2323,7 +2323,7 @@ BOOL WINAPI PathIsUNCServerShareW(LPCWSTR lpszPath) * * PARAMS * lpszBuf [O] Output path - * lpszPath [I] Path to cnonicalize + * lpszPath [I] Path to canonicalize * * RETURNS * Success: TRUE. lpszBuf contains the output path, @@ -3344,7 +3344,7 @@ HRESULT WINAPI PathCreateFromUrlW(LPCWSTR pszUrl, LPWSTR pszPath, * * RETURNS * TRUE If a relative path can be formed. lpszPath contains the new path - * FALSE If the paths are not relavtive or any parameters are invalid + * FALSE If the paths are not relative or any parameters are invalid * * NOTES * lpszTo should be at least MAX_PATH in length. diff --git a/dlls/shlwapi/reg.c b/dlls/shlwapi/reg.c index 1f52883..52908e9 100644 --- a/dlls/shlwapi/reg.c +++ b/dlls/shlwapi/reg.c @@ -215,7 +215,7 @@ LONG WINAPI SHRegCloseUSKey( * pszPath [I] Key name to create or open. * samDesired [I] Wanted security access. * hRelativeUSKey [I] Base path if pszPath is relative. NULL otherwise. - * phNewUSKey [O] Receives a handle to the new or openened key. + * phNewUSKey [O] Receives a handle to the new or opened key. * dwFlags [I] Base key under which the key should be opened. * * RETURNS diff --git a/dlls/shlwapi/resource.h b/dlls/shlwapi/resource.h index 7359ffe..e0ca08c 100644 --- a/dlls/shlwapi/resource.h +++ b/dlls/shlwapi/resource.h @@ -25,7 +25,7 @@ #define IDS_TIME_INTERVAL_MINUTES 66 #define IDS_TIME_INTERVAL_SECONDS 67 -/* These numbers match native ID's and shouldn't be abitrarily changed */ +/* These numbers match native ID's and shouldn't be arbitrarily changed */ #define IDD_ERR_DIALOG 0x1200 #define IDS_ERR_USER_MSG 0x1201 #define IDC_ERR_DONT_SHOW 0x1202 diff --git a/dlls/shlwapi/string.c b/dlls/shlwapi/string.c index b2cd7f2..4537ac2 100644 --- a/dlls/shlwapi/string.c +++ b/dlls/shlwapi/string.c @@ -445,11 +445,11 @@ int WINAPI StrCmpW(LPCWSTR lpszStr, LPCWSTR lpszComp) /************************************************************************* * StrCatW [SHLWAPI.@] * - * Concatanate two strings. + * Concatenate two strings. * * PARAMS * lpszStr [O] Initial string - * lpszSrc [I] String to concatanate + * lpszSrc [I] String to concatenate * * RETURNS * lpszStr. diff --git a/dlls/shlwapi/url.c b/dlls/shlwapi/url.c index ba7cdb6..1ff4312 100644 --- a/dlls/shlwapi/url.c +++ b/dlls/shlwapi/url.c @@ -750,7 +750,7 @@ HRESULT WINAPI UrlCombineW(LPCWSTR pszBase, LPCWSTR pszRelative, } process_case = 1; break; - } while(FALSE); /* a litte trick to allow easy exit from nested if's */ + } while(FALSE); /* a little trick to allow easy exit from nested if's */ ret = S_OK; switch (process_case) { @@ -2312,7 +2312,7 @@ HRESULT WINAPI SHAutoComplete(HWND hwndEdit, DWORD dwFlags) * dwDestLen [I] Length of lpszDest * * RETURNS - * Success: S_OK. lpszDest constains the resource Url. + * Success: S_OK. lpszDest contains the resource Url. * Failure: E_INVALIDARG, if any argument is invalid, or * E_FAIL if dwDestLen is too small. */ diff --git a/dlls/spoolss/tests/spoolss.c b/dlls/spoolss/tests/spoolss.c index 602b925..b0b544c 100644 --- a/dlls/spoolss/tests/spoolss.c +++ b/dlls/spoolss/tests/spoolss.c @@ -109,7 +109,7 @@ static void test_BuildOtherNamesFromMachineName(void) /* An array with 3 stringpointer is returned: entry_#0: "" (empty String) - entry_#1: (this is the same as the computernam) + entry_#1: (this is the same as the computername) entry_#2: (string with the ip-address of ) */ todo_wine -- 1.5.4.3