From f6a341c74747b891d8c03c06975b357322d72a63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Fri, 27 Mar 2015 14:19:47 +0100 Subject: [PATCH] Assorted spelling/grammar fixes. --- dlls/ddraw/tests/ddraw1.c | 4 ++-- dlls/ddraw/tests/ddraw2.c | 4 ++-- dlls/ddraw/tests/ddraw4.c | 4 ++-- dlls/ddraw/tests/ddraw7.c | 4 ++-- dlls/ieframe/tests/webbrowser.c | 2 +- dlls/kernel32/locale.c | 4 ++-- dlls/msi/tests/db.c | 2 +- dlls/user32/sysparams.c | 2 +- dlls/ws2_32/tests/sock.c | 4 ++-- programs/winedbg/winedbg.man.in | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/dlls/ddraw/tests/ddraw1.c b/dlls/ddraw/tests/ddraw1.c index 8fdbef7dbe9..efb00b2d636 100644 --- a/dlls/ddraw/tests/ddraw1.c +++ b/dlls/ddraw/tests/ddraw1.c @@ -2057,7 +2057,7 @@ static void test_window_style(void) ret = SetForegroundWindow(window); ok(ret, "Failed to set foreground window.\n"); - /* Windows 7 (but not Vista and XP) show the window when it receives focus. Hide it again, + /* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again, * the next tests expect this. */ ShowWindow(window, SW_HIDE); @@ -2217,7 +2217,7 @@ static void test_coop_level_mode_set(void) {WM_WINDOWPOSCHANGING, FALSE, 0}, /* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of * SW_MINIMIZED, causing a recursive window activation that does not - * produe the same result in Wine yet. Ignore the difference for now. + * produce the same result in Wine yet. Ignore the difference for now. * {WM_ACTIVATE, TRUE, 0x200000 | WA_ACTIVE}, */ {WM_WINDOWPOSCHANGED, FALSE, 0}, {WM_MOVE, FALSE, 0}, diff --git a/dlls/ddraw/tests/ddraw2.c b/dlls/ddraw/tests/ddraw2.c index 6b5a48b53eb..5f59f068266 100644 --- a/dlls/ddraw/tests/ddraw2.c +++ b/dlls/ddraw/tests/ddraw2.c @@ -2246,7 +2246,7 @@ static void test_window_style(void) ret = SetForegroundWindow(window); ok(ret, "Failed to set foreground window.\n"); - /* Windows 7 (but not Vista and XP) show the window when it receives focus. Hide it again, + /* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again, * the next tests expect this. */ ShowWindow(window, SW_HIDE); @@ -2417,7 +2417,7 @@ static void test_coop_level_mode_set(void) {WM_WINDOWPOSCHANGING, FALSE, 0}, /* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of * SW_MINIMIZED, causing a recursive window activation that does not - * produe the same result in Wine yet. Ignore the difference for now. + * produce the same result in Wine yet. Ignore the difference for now. * {WM_ACTIVATE, TRUE, 0x200000 | WA_ACTIVE}, */ {WM_WINDOWPOSCHANGED, FALSE, 0}, {WM_MOVE, FALSE, 0}, diff --git a/dlls/ddraw/tests/ddraw4.c b/dlls/ddraw/tests/ddraw4.c index 1879424a554..70ca1172f17 100644 --- a/dlls/ddraw/tests/ddraw4.c +++ b/dlls/ddraw/tests/ddraw4.c @@ -2433,7 +2433,7 @@ static void test_window_style(void) ret = SetForegroundWindow(window); ok(ret, "Failed to set foreground window.\n"); - /* Windows 7 (but not Vista and XP) show the window when it receives focus. Hide it again, + /* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again, * the next tests expect this. */ ShowWindow(window, SW_HIDE); @@ -2604,7 +2604,7 @@ static void test_coop_level_mode_set(void) {WM_WINDOWPOSCHANGING, FALSE, 0}, /* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of * SW_MINIMIZED, causing a recursive window activation that does not - * produe the same result in Wine yet. Ignore the difference for now. + * produce the same result in Wine yet. Ignore the difference for now. * {WM_ACTIVATE, TRUE, 0x200000 | WA_ACTIVE}, */ {WM_WINDOWPOSCHANGED, FALSE, 0}, {WM_MOVE, FALSE, 0}, diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c index f3cd4956bb8..21ba33901ad 100644 --- a/dlls/ddraw/tests/ddraw7.c +++ b/dlls/ddraw/tests/ddraw7.c @@ -2111,7 +2111,7 @@ static void test_window_style(void) ret = SetForegroundWindow(window); ok(ret, "Failed to set foreground window.\n"); - /* Windows 7 (but not Vista and XP) show the window when it receives focus. Hide it again, + /* Windows 7 (but not Vista and XP) shows the window when it receives focus. Hide it again, * the next tests expect this. */ ShowWindow(window, SW_HIDE); @@ -2281,7 +2281,7 @@ static void test_coop_level_mode_set(void) {WM_WINDOWPOSCHANGING, FALSE, 0}, /* Like d3d8 and d3d9 ddraw seems to use SW_SHOWMINIMIZED instead of * SW_MINIMIZED, causing a recursive window activation that does not - * produe the same result in Wine yet. Ignore the difference for now. + * produce the same result in Wine yet. Ignore the difference for now. * {WM_ACTIVATE, TRUE, 0x200000 | WA_ACTIVE}, */ {WM_WINDOWPOSCHANGED, FALSE, 0}, {WM_MOVE, FALSE, 0}, diff --git a/dlls/ieframe/tests/webbrowser.c b/dlls/ieframe/tests/webbrowser.c index 3dae2b69660..b19ae7cd13c 100644 --- a/dlls/ieframe/tests/webbrowser.c +++ b/dlls/ieframe/tests/webbrowser.c @@ -2085,7 +2085,7 @@ static void test_EnumVerbs(IWebBrowser2 *wb) ok(!fetched, "fetched = %d\n", fetched); /* Although fetched==0, an element is returned. */ expect_oleverb(verbs, OLEIVERB_PRIMARY); - /* The first argument is ignorred and always one element is returned. */ + /* The first argument is ignored and always one element is returned. */ ok(verbs[1].lVerb == 0xdeadbeef, "verbs[1].lVerb = %x\n", verbs[1].lVerb); test_next_oleverb(enum_verbs, OLEIVERB_INPLACEACTIVATE); diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c index f20fe5bc326..afc5b9db350 100644 --- a/dlls/kernel32/locale.c +++ b/dlls/kernel32/locale.c @@ -2274,8 +2274,8 @@ static int utf7_wcstombs(const WCHAR *src, int srclen, char *dst, int dstlen) if (offset) { - /* Windows won't create a padded base64 character if there's not room for the - sign too - * this is probably a bug in Windows */ + /* Windows won't create a padded base64 character if there's no room for the - sign + * as well ; this is probably a bug in Windows */ if (dstlen > 0 && dest_index + 1 >= dstlen) return -1; diff --git a/dlls/msi/tests/db.c b/dlls/msi/tests/db.c index d629e1cad14..60e5c82ed59 100644 --- a/dlls/msi/tests/db.c +++ b/dlls/msi/tests/db.c @@ -2770,7 +2770,7 @@ static void test_markers(void) DeleteFileA(msifile); } -#define MY_NVIEWS 4000 /* Largest installer I've seen uses < 2k */ +#define MY_NVIEWS 4000 /* Largest installer I've seen uses < 2000 */ static void test_handle_limit(void) { int i; diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c index 9944119251a..79396ae7ac8 100644 --- a/dlls/user32/sysparams.c +++ b/dlls/user32/sysparams.c @@ -722,7 +722,7 @@ static BOOL get_twips_entry( union sysparam_all_entry *entry, UINT int_param, vo if (load_entry( &entry->hdr, buf, sizeof(buf) )) { int val = atoiW( buf ); - /* Dimension are quoted as being "twips" values if negative and pixels if positive. + /* Dimensions are quoted as being "twips" values if negative and pixels if positive. * One inch is 1440 twips. * See for example * Technical Reference to the Windows 2000 Registry -> diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 3a60ddbbf56..638a7677b6e 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -3574,7 +3574,7 @@ static void test_select(void) /* select() works in 3 distinct states: * - to check if a connection attempt ended with success or error; * - to check if a pending connection is waiting for acceptance; - * - to check for data to read, avaliability for write and OOB data + * - to check for data to read, availability for write and OOB data * * The tests below ensure that all conditions are tested. */ @@ -7327,7 +7327,7 @@ static void test_sioAddressListChange(void) goto end; } - /* Wait for address changes, request that the user connect/disconnect an interface */ + /* Wait for address changes, request that the user connects/disconnects an interface */ memset(&overlapped, 0, sizeof(overlapped)); overlapped.hEvent = CreateEventA(NULL, FALSE, FALSE, NULL); ret = WSAIoctl(sock, SIO_ADDRESS_LIST_CHANGE, NULL, 0, NULL, 0, &num_bytes, &overlapped, NULL); diff --git a/programs/winedbg/winedbg.man.in b/programs/winedbg/winedbg.man.in index b5beba25483..d6e5dc9c101 100644 --- a/programs/winedbg/winedbg.man.in +++ b/programs/winedbg/winedbg.man.in @@ -70,7 +70,7 @@ When in \fBgdb\fR proxy mode, the following options are available: .PP .IP \fB--no-start\fR \fBgdb\fR will not be automatically -started. Relevant information for starting \fBgdb\fR are printed on +started. Relevant information for starting \fBgdb\fR is printed on screen. This is somehow useful when not directly using \fBgdb\fR but some graphical front-ends, like \fBddd\fR or \fBkgbd\fR. .IP \fB--with-xterm\fR -- 2.11.4.GIT