From f250f4fa048cb7568352205b3cb9a4c50b8ec2fc Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 11 Feb 2009 13:35:25 +0100 Subject: [PATCH] Assorted spelling fixes. --- dlls/comctl32/tests/toolbar.c | 2 +- dlls/cryptui/cryptui_En.rc | 4 ++-- dlls/gdi32/driver.c | 2 +- dlls/msctf/context.c | 2 +- dlls/msvcrt/tests/file.c | 2 +- dlls/riched20/txthost.c | 2 +- dlls/shdocvw/oleobject.c | 2 +- dlls/wintrust/tests/crypt.c | 6 +++--- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dlls/comctl32/tests/toolbar.c b/dlls/comctl32/tests/toolbar.c index 1c155f590e5..02601cf2d3a 100644 --- a/dlls/comctl32/tests/toolbar.c +++ b/dlls/comctl32/tests/toolbar.c @@ -1034,7 +1034,7 @@ static void restore_recalc_state(HWND hToolbar) GetWindowLong(hToolbar, GWL_STYLE) & ~TBSTYLE_FLAT); /* recalc */ SendMessage(hToolbar, TB_ADDBUTTONS, 1, (LPARAM)&buttons3[3]); - /* top margin will be 0px if a recalc occures */ + /* top margin will be 0px if a recalc occurs */ SetWindowLong(hToolbar, GWL_STYLE, GetWindowLong(hToolbar, GWL_STYLE) | TBSTYLE_FLAT); /* safety check */ diff --git a/dlls/cryptui/cryptui_En.rc b/dlls/cryptui/cryptui_En.rc index c6d6559ba54..b10e1015522 100644 --- a/dlls/cryptui/cryptui_En.rc +++ b/dlls/cryptui/cryptui_En.rc @@ -102,8 +102,8 @@ STRINGTABLE DISCARDABLE IDS_FRIENDLY_NAME_COLUMN "Friendly Name" IDS_ALLOWED_PURPOSE_ALL "" IDS_ALLOWED_PURPOSE_NONE "" - IDS_WARN_REMOVE_MY "You will no longer be able to decrypt mesages with this certificate, or sign messages with it.\nAre you sure you want to remove this certificate?" - IDS_WARN_REMOVE_PLURAL_MY "You will no longer be able to decrypt mesages with these certificate, or sign messages with them.\nAre you sure you want to remove these certificates?" + IDS_WARN_REMOVE_MY "You will no longer be able to decrypt messages with this certificate, or sign messages with it.\nAre you sure you want to remove this certificate?" + IDS_WARN_REMOVE_PLURAL_MY "You will no longer be able to decrypt messages with these certificates, or sign messages with them.\nAre you sure you want to remove these certificates?" IDS_WARN_REMOVE_ADDRESSBOOK "You will no longer be able to encrypt messages with this certificate, or verify messages signed with it.\nAre you sure you want to remove this certificate?" IDS_WARN_REMOVE_PLURAL_ADDRESSBOOK "You will no longer be able to encrypt messages with these certificates, or verify messages signed with it.\nAre you sure you want to remove these certificates?" IDS_WARN_REMOVE_CA "Certificates issued by this certification authority will no longer be trusted.\nAre you sure you want to remove this certificate?" diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c index 101bad4cd46..20d3f36ca88 100644 --- a/dlls/gdi32/driver.c +++ b/dlls/gdi32/driver.c @@ -496,7 +496,7 @@ INT WINAPI GDI_CallExtDeviceModePropSheet16( HWND hWnd, LPCSTR lpszDevice, /***************************************************************************** * @ [GDI32.102] * - * This should load the correct driver for lpszDevice and calls this driver's + * This should load the correct driver for lpszDevice and call this driver's * ExtDeviceMode proc. * * FIXME: convert ExtDeviceMode to unicode in the driver interface diff --git a/dlls/msctf/context.c b/dlls/msctf/context.c index feef4214a39..2fc651f101b 100644 --- a/dlls/msctf/context.c +++ b/dlls/msctf/context.c @@ -67,7 +67,7 @@ typedef struct tagContext { ITextStoreACPSink *pITextStoreACPSink; - /* kept as seperate lists to reduce unnesseccary iterations */ + /* kept as separate lists to reduce unnecessary iterations */ struct list pContextKeyEventSink; struct list pEditTransactionSink; struct list pStatusSink; diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c index 9032e510911..22a51414e72 100644 --- a/dlls/msvcrt/tests/file.c +++ b/dlls/msvcrt/tests/file.c @@ -365,7 +365,7 @@ static void test_asciimode(void) ok((c = fgetc(fp)) == '0'+ i, "fgetc after fseek with neg Offset failed in line %d\n", i); fseek(fp, -4 ,SEEK_CUR); } - /* Show what happens is fseek positions filepointer on \\r */ + /* Show what happens if fseek positions filepointer on \\r */ fclose(fp); fp = fopen("ascii.tst", "r"); fseek(fp, 3 ,SEEK_SET); diff --git a/dlls/riched20/txthost.c b/dlls/riched20/txthost.c index 7fc0e5a800d..5032e8729f6 100644 --- a/dlls/riched20/txthost.c +++ b/dlls/riched20/txthost.c @@ -59,7 +59,7 @@ ITextHost *ME_CreateTextHost(HWND hwnd, BOOL bEmulateVersion10) editor = ME_MakeEditor((ITextHost*)texthost, bEmulateVersion10); editor->exStyleFlags = GetWindowLongW(hwnd, GWL_EXSTYLE); - editor->hWnd = hwnd; /* FIXME: Remove editor's dependance on hWnd */ + editor->hWnd = hwnd; /* FIXME: Remove editor's dependence on hWnd */ SetWindowLongPtrW(hwnd, 0, (LONG_PTR)editor); } diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c index a38d03d0e22..9b7168f00ce 100644 --- a/dlls/shdocvw/oleobject.c +++ b/dlls/shdocvw/oleobject.c @@ -720,7 +720,7 @@ static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DIS switch(dispID) { case DISPID_UNKNOWN: /* Unknown means multiple properties changed, so check them all. - * BUT the Webbrowser OleControl object doesnt appear to do this. + * BUT the Webbrowser OleControl object doesn't appear to do this. */ return S_OK; case DISPID_AMBIENT_OFFLINEIFNOTCONNECTED: diff --git a/dlls/wintrust/tests/crypt.c b/dlls/wintrust/tests/crypt.c index 1d7f30e35fe..6ef3c534c24 100644 --- a/dlls/wintrust/tests/crypt.c +++ b/dlls/wintrust/tests/crypt.c @@ -740,7 +740,7 @@ static void test_create_catalog_file(void) ok(attrcount == 2, "Expected 2 attributes, got %d\n", attrcount); pCryptCATCDFClose(catcdf); - /* Eventhough the resulting catalogfile shows the attributes, they will not be enumerated */ + /* Even though the resulting catalog file shows the attributes, they will not be enumerated */ test_catalog_properties(catfileA, 0, 0); DeleteFileA(catfileA); @@ -904,7 +904,7 @@ static void test_cdf_parsing(void) todo_wine ok(DeleteFileA(catfileA), "Expected a catalog file to be created\n"); - /* Header and non-existing member */ + /* Header and nonexistent member */ lstrcpyA(cdf_contents, "[CatalogHeader]\r\n"); lstrcatA(cdf_contents, "Name=tempfile.cat\r\n"); lstrcatA(cdf_contents, "[CatalogFiles]\r\n"); @@ -1106,7 +1106,7 @@ START_TEST(crypt) test_CryptCATCDF_params(); /* Test the parsing of a cdf file */ test_cdf_parsing(); - /* Create a catalogfile out of our own catalog definition file */ + /* Create a catalog file out of our own catalog definition file */ test_create_catalog_file(); test_CryptCATAdminAddRemoveCatalog(); } -- 2.11.4.GIT