From: Veres Lajos Subject: typo fixes - rebased - fixed Message-Id: Date: Sun, 20 Apr 2014 15:28:20 +0100 (BST) Hi, I attached a patch with a few typo fixes. (I removed a few false from the previous patch and fixed Defaultl) Best regards, -- Veres Lajos vlajos@gmail.com +36 20 438 5909 From 5e8fe57f720e7a75f27ca97d1eef9fcbb64733d7 Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Mon, 14 Apr 2014 21:44:51 +0100 Subject: =?UTF-8?q?typofixes=20-=20https://github.com/vlajos/misspell=5Ffi?= =?UTF-8?q?xer=0Acorrected=20with=20Nikolay=20Sivov's=20suggestions?= --- dlls/comctl32/tests/button.c | 2 +- dlls/dinput/joystick_linux.c | 4 ++-- dlls/kernel32/tests/comm.c | 2 +- dlls/kernel32/tests/thread.c | 4 ++-- dlls/mshtml/tests/dom.c | 2 +- dlls/msxml3/saxreader.c | 2 +- dlls/ntdll/file.c | 6 +++--- dlls/ole32/tests/moniker.c | 12 ++++++------ dlls/oleaut32/tests/safearray.c | 2 +- dlls/oleaut32/typelib.h | 2 +- dlls/shell32/shfldr_unixfs.c | 2 +- dlls/shell32/tests/shlfileop.c | 2 +- dlls/urlmon/tests/uri.c | 2 +- dlls/user32/tests/msg.c | 4 ++-- include/mapidefs.h | 2 +- programs/winhlp32/winhelp.c | 2 +- tools/config.guess | 2 +- tools/widl/typelib_struct.h | 2 +- 18 files changed, 28 insertions(+), 28 deletions(-) diff --git a/dlls/comctl32/tests/button.c b/dlls/comctl32/tests/button.c index 96fb766..b7a4484 100644 --- a/dlls/comctl32/tests/button.c +++ b/dlls/comctl32/tests/button.c @@ -759,7 +759,7 @@ todo_wine { ok(!strcmp(buffA, "Button"), "got %s\n", buffA); DestroyWindow(hwnd); - /* explicitely create with versioned class name */ + /* explicitly create with versioned class name */ hwnd = CreateWindowExW(0, nameW, testW, BS_CHECKBOX, 0, 0, 50, 14, NULL, 0, 0, NULL); todo_wine ok(hwnd != NULL, "failed to create a window %s\n", wine_dbgstr_w(nameW)); diff --git a/dlls/dinput/joystick_linux.c b/dlls/dinput/joystick_linux.c index ce04986..d8f8d6e 100644 --- a/dlls/dinput/joystick_linux.c +++ b/dlls/dinput/joystick_linux.c @@ -166,14 +166,14 @@ static INT find_joystick_devices(void) #ifdef JSIOCGAXES if (ioctl(fd, JSIOCGAXES, &joydev.axis_count) < 0) { - WARN("ioctl(%s,JSIOCGAXES) failed: %s, defauting to 2\n", joydev.device, strerror(errno)); + WARN("ioctl(%s,JSIOCGAXES) failed: %s, defaulting to 2\n", joydev.device, strerror(errno)); joydev.axis_count = 2; } #endif #ifdef JSIOCGBUTTONS if (ioctl(fd, JSIOCGBUTTONS, &joydev.button_count) < 0) { - WARN("ioctl(%s,JSIOCGBUTTONS) failed: %s, defauting to 2\n", joydev.device, strerror(errno)); + WARN("ioctl(%s,JSIOCGBUTTONS) failed: %s, defaulting to 2\n", joydev.device, strerror(errno)); joydev.button_count = 2; } #endif diff --git a/dlls/kernel32/tests/comm.c b/dlls/kernel32/tests/comm.c index cbd276b..2213bae 100644 --- a/dlls/kernel32/tests/comm.c +++ b/dlls/kernel32/tests/comm.c @@ -727,7 +727,7 @@ static HANDLE test_OpenComm(BOOL doOverlap) ok(ret, "Unexpected error %u on open\n", GetLastError()); ok(comstat.cbInQue == 0, "Unexpected %d chars in InQueue\n",comstat.cbInQue); - ok(comstat.cbOutQue == 0, "Still pending %d charcters in OutQueue\n", comstat.cbOutQue); + ok(comstat.cbOutQue == 0, "Still pending %d characters in OutQueue\n", comstat.cbOutQue); ok(errors == 0, "Unexpected errors 0x%08x\n", errors); } return hcom; diff --git a/dlls/kernel32/tests/thread.c b/dlls/kernel32/tests/thread.c index 1ea5fb3..d6b4952 100644 --- a/dlls/kernel32/tests/thread.c +++ b/dlls/kernel32/tests/thread.c @@ -1557,7 +1557,7 @@ static void test_thread_actctx(void) handle = (void*)0xdeadbeef; b = pGetCurrentActCtx(&handle); - ok(b, "GetCurentActCtx failed: %u\n", GetLastError()); + ok(b, "GetCurrentActCtx failed: %u\n", GetLastError()); ok(handle == 0, "active context %p\n", handle); /* without active context */ @@ -1576,7 +1576,7 @@ static void test_thread_actctx(void) handle = 0; b = pGetCurrentActCtx(&handle); - ok(b, "GetCurentActCtx failed: %u\n", GetLastError()); + ok(b, "GetCurrentActCtx failed: %u\n", GetLastError()); ok(handle != 0, "no active context\n"); param.handle = NULL; diff --git a/dlls/mshtml/tests/dom.c b/dlls/mshtml/tests/dom.c index 23677f4..51ed50b 100644 --- a/dlls/mshtml/tests/dom.c +++ b/dlls/mshtml/tests/dom.c @@ -4653,7 +4653,7 @@ static void test_location(IHTMLDocument2 *doc) SysFreeString(str); ref = IHTMLLocation_Release(location); - ok(!ref, "location chould be destroyed here\n"); + ok(!ref, "location should be destroyed here\n"); } static void test_plugins_col(IHTMLDocument2 *doc) diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 7a9e410..fd022d7 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -2484,7 +2484,7 @@ static HRESULT internal_parseBuffer(saxreader *This, const char *buffer, int siz if (encoding == XML_CHAR_ENCODING_NONE) { const WCHAR *ptr = (WCHAR*)buffer; - /* xml declaration with possibly specfied encoding will be still handled by parser */ + /* xml declaration with possibly specified encoding will be still handled by parser */ if ((size >= 2) && *ptr == '<' && ptr[1] != '?') { enc_name = (xmlChar*)xmlGetCharEncodingName(XML_CHAR_ENCODING_UTF16LE); diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index d2efcc1..548bcb4 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -2804,7 +2804,7 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, PIO_STATUS_BLOCK io * restart [I] restart EA scan * * RETURNS - * Success: 0. Atrributes read into buffer + * Success: 0. Attributes read into buffer * Failure: An NTSTATUS error code describing the error. */ NTSTATUS WINAPI NtQueryEaFile( HANDLE hFile, PIO_STATUS_BLOCK iosb, PVOID buffer, ULONG length, @@ -3080,7 +3080,7 @@ NTSTATUS WINAPI NtCancelIoFileEx( HANDLE hFile, PIO_STATUS_BLOCK iosb, PIO_STATU return io_status->u.Status; /* Let some APC be run, so that we can run the remaining APCs on hFile - * either the cancelation of the pending one, but also the execution + * either the cancellation of the pending one, but also the execution * of the queued APC, but not yet run. This is needed to ensure proper * clean-up of allocated data. */ @@ -3112,7 +3112,7 @@ NTSTATUS WINAPI NtCancelIoFile( HANDLE hFile, PIO_STATUS_BLOCK io_status ) return io_status->u.Status; /* Let some APC be run, so that we can run the remaining APCs on hFile - * either the cancelation of the pending one, but also the execution + * either the cancellation of the pending one, but also the execution * of the queued APC, but not yet run. This is needed to ensure proper * clean-up of allocated data. */ diff --git a/dlls/ole32/tests/moniker.c b/dlls/ole32/tests/moniker.c index 1ff7159..f9562c7 100644 --- a/dlls/ole32/tests/moniker.c +++ b/dlls/ole32/tests/moniker.c @@ -1588,11 +1588,11 @@ static void test_item_moniker(void) IBindCtx *bindctx; IMoniker *inverse; IUnknown *unknown; - static const WCHAR wszDelimeter[] = {'!',0}; + static const WCHAR wszDelimiter[] = {'!',0}; static const WCHAR wszObjectName[] = {'T','e','s','t',0}; static const WCHAR expected_display_name[] = { '!','T','e','s','t',0 }; - hr = CreateItemMoniker(wszDelimeter, wszObjectName, &moniker); + hr = CreateItemMoniker(wszDelimiter, wszObjectName, &moniker); ok_ole_success(hr, CreateItemMoniker); test_moniker("item moniker", moniker, @@ -1717,15 +1717,15 @@ static void test_generic_composite_moniker(void) FILETIME filetime; IMoniker *inverse; IUnknown *unknown; - static const WCHAR wszDelimeter1[] = {'!',0}; + static const WCHAR wszDelimiter1[] = {'!',0}; static const WCHAR wszObjectName1[] = {'T','e','s','t',0}; - static const WCHAR wszDelimeter2[] = {'#',0}; + static const WCHAR wszDelimiter2[] = {'#',0}; static const WCHAR wszObjectName2[] = {'W','i','n','e',0}; static const WCHAR expected_display_name[] = { '!','T','e','s','t','#','W','i','n','e',0 }; - hr = CreateItemMoniker(wszDelimeter1, wszObjectName1, &moniker1); + hr = CreateItemMoniker(wszDelimiter1, wszObjectName1, &moniker1); ok_ole_success(hr, CreateItemMoniker); - hr = CreateItemMoniker(wszDelimeter2, wszObjectName2, &moniker2); + hr = CreateItemMoniker(wszDelimiter2, wszObjectName2, &moniker2); ok_ole_success(hr, CreateItemMoniker); hr = CreateGenericComposite(moniker1, moniker2, &moniker); ok_ole_success(hr, CreateGenericComposite); diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c index 2be8b06..ae8b2a8 100644 --- a/dlls/oleaut32/tests/safearray.c +++ b/dlls/oleaut32/tests/safearray.c @@ -1650,7 +1650,7 @@ static void test_SafeArrayCreateEx(void) sacopy = pSafeArrayCreateEx(VT_RECORD, 1, sab, &iRec->IRecordInfo_iface); iRec->recordcopy = 0; iRec->clearCalled = 0; - /* array copy code doesn't explicitely clear a record */ + /* array copy code doesn't explicitly clear a record */ hres = SafeArrayCopyData(sa, sacopy); ok(hres == S_OK, "got 0x%08x\n", hres); ok(iRec->recordcopy == sab[0].cElements, "got %d\n", iRec->recordcopy); diff --git a/dlls/oleaut32/typelib.h b/dlls/oleaut32/typelib.h index 8f274ba..31c9ab9 100644 --- a/dlls/oleaut32/typelib.h +++ b/dlls/oleaut32/typelib.h @@ -217,7 +217,7 @@ typedef struct { /* after this may follow an array with default value pointers if the * appropriate bit in the FKCCIC field has been set: - * INT oDefautlValue[nrargs]; + * INT oDefaultValue[nrargs]; */ /* Parameter info one per argument*/ diff --git a/dlls/shell32/shfldr_unixfs.c b/dlls/shell32/shfldr_unixfs.c index 8f93e7f..f639f66 100644 --- a/dlls/shell32/shfldr_unixfs.c +++ b/dlls/shell32/shfldr_unixfs.c @@ -669,7 +669,7 @@ static HRESULT UNIXFS_path_to_pidl(UnixFolder *pUnixFolder, LPBC pbc, const WCHA szCompletePath[cPathLen-1] = '\0'; if ((szCompletePath[0] != '/') || (pNextPathElement[0] != '/')) { - ERR("szCompletePath: %s, pNextPathElment: %s\n", szCompletePath, pNextPathElement); + ERR("szCompletePath: %s, pNextPathElement: %s\n", szCompletePath, pNextPathElement); return E_FAIL; } diff --git a/dlls/shell32/tests/shlfileop.c b/dlls/shell32/tests/shlfileop.c index 64d0fbc..f39b28f 100644 --- a/dlls/shell32/tests/shlfileop.c +++ b/dlls/shell32/tests/shlfileop.c @@ -1987,7 +1987,7 @@ static void test_move(void) init_shfo_tests(); - /* 0 incomming files */ + /* 0 incoming files */ set_curr_dir_path(from, "\0\0"); set_curr_dir_path(to, "test6.txt\0\0"); retval = SHFileOperationA(&shfo2); diff --git a/dlls/urlmon/tests/uri.c b/dlls/urlmon/tests/uri.c index cf10cb2..eee44bd 100644 --- a/dlls/urlmon/tests/uri.c +++ b/dlls/urlmon/tests/uri.c @@ -5568,7 +5568,7 @@ static const uri_builder_test uri_builder_tests[] = { 0,INET_E_INVALID_URL,FALSE, 0,0,0,INET_E_INVALID_URL,FALSE }, - /* UserName can't contain any character that is a delimeter for another + /* UserName can't contain any character that is a delimiter for another * component that appears after it in a normal URI. */ { "http://google.com/",0,S_OK,FALSE, diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index a209492..8b47969 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -6968,7 +6968,7 @@ static void test_interthread_messages(void) handle = (void*)0xdeadbeef; ret = pGetCurrentActCtx(&handle); - ok(ret, "GetCurentActCtx failed: %u\n", GetLastError()); + ok(ret, "GetCurrentActCtx failed: %u\n", GetLastError()); ok(handle == 0, "active context %p\n", handle); wnd_event.start_event = CreateEventW(NULL, 0, 0, NULL); @@ -6983,7 +6983,7 @@ static void test_interthread_messages(void) handle = 0; ret = pGetCurrentActCtx(&handle); - ok(ret, "GetCurentActCtx failed: %u\n", GetLastError()); + ok(ret, "GetCurrentActCtx failed: %u\n", GetLastError()); ok(handle != 0, "active context %p\n", handle); /* destination window will test for active context */ diff --git a/include/mapidefs.h b/include/mapidefs.h index 2206e70..be72a95 100644 --- a/include/mapidefs.h +++ b/include/mapidefs.h @@ -478,7 +478,7 @@ typedef struct _SPropProblemArray typedef ULONG BOOKMARK; #define BOOKMARK_BEGINNING ((BOOKMARK)0) /* The first row */ -#define BOOKMARK_CURRENT ((BOOKMARK)1) /* The curent table row */ +#define BOOKMARK_CURRENT ((BOOKMARK)1) /* The current table row */ #define BOOKMARK_END ((BOOKMARK)2) /* The last row */ /* Row restrictions */ diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c index 195a23f..497d1dd 100644 --- a/programs/winhlp32/winhelp.c +++ b/programs/winhlp32/winhelp.c @@ -520,7 +520,7 @@ WINHELP_WINDOW* WINHELP_GrabWindow(WINHELP_WINDOW* win) /*********************************************************************** * - * WINHELP_RelaseWindow + * WINHELP_ReleaseWindow */ BOOL WINHELP_ReleaseWindow(WINHELP_WINDOW* win) { diff --git a/tools/config.guess b/tools/config.guess index 5d63f36..b2cee12 100755 --- a/tools/config.guess +++ b/tools/config.guess @@ -1078,7 +1078,7 @@ EOF # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub - # prints for the "djgpp" host, or else GDB configury will decide that + # prints for the "djgpp" host, or else GDB configure will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; diff --git a/tools/widl/typelib_struct.h b/tools/widl/typelib_struct.h index 42faac8..0d9f8eb 100644 --- a/tools/widl/typelib_struct.h +++ b/tools/widl/typelib_struct.h @@ -215,7 +215,7 @@ typedef struct { /* after this may follow an array with default value pointers if the * appropriate bit in the FKCCIC field has been set: - * INT oDefautlValue[nrargs]; + * INT oDefaultValue[nrargs]; */ /* Parameter info one per argument*/ -- 1.8.5.2