From 7b0cde8f84088e925d037ce2d7a8d7aad9a7fb94 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 6 Mar 2007 14:26:24 +0100 Subject: [PATCH] Assorted spelling fixes. --- dlls/mshtml/tests/htmldoc.c | 2 +- dlls/msi/tests/install.c | 2 +- dlls/wineps.drv/psdrv.h | 2 +- programs/cmd/batch.c | 8 ++++---- programs/cmd/builtins.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dlls/mshtml/tests/htmldoc.c b/dlls/mshtml/tests/htmldoc.c index 98c3eaee15f..3872062a93e 100644 --- a/dlls/mshtml/tests/htmldoc.c +++ b/dlls/mshtml/tests/htmldoc.c @@ -207,7 +207,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl, ok(bindinfo.dwOptionsFlags == 0, "bindinfo.dwOptionsFlags=%d\n", bindinfo.dwOptionsFlags); /* TODO: test dwCodePage */ /* TODO: test securityAttributes */ - ok(IsEqualGUID(&IID_NULL, &bindinfo.iid), "unexepected bindinfo.iid\n"); + ok(IsEqualGUID(&IID_NULL, &bindinfo.iid), "unexpected bindinfo.iid\n"); ok(bindinfo.pUnk == NULL, "bindinfo.pUnk=%p\n", bindinfo.pUnk); ok(bindinfo.dwReserved == 0, "bindinfo.dwReserved=%d\n", bindinfo.dwReserved); diff --git a/dlls/msi/tests/install.c b/dlls/msi/tests/install.c index 08c7e2ee1ed..6e42696c2ef 100644 --- a/dlls/msi/tests/install.c +++ b/dlls/msi/tests/install.c @@ -1195,7 +1195,7 @@ static void test_readonlyfile(void) lstrcat(path, "\\maximus"); file = CreateFile(path, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_NEW, FILE_ATTRIBUTE_READONLY, NULL); - if (file == INVALID_HANDLE_VALUE) printf("didnt work here: %d\n", GetLastError()); + if (file == INVALID_HANDLE_VALUE) printf("didn't work here: %d\n", GetLastError()); WriteFile(file, "readonlyfile", 20, &size, NULL); CloseHandle(file); diff --git a/dlls/wineps.drv/psdrv.h b/dlls/wineps.drv/psdrv.h index 7794a890bf7..e6b6edccfeb 100644 --- a/dlls/wineps.drv/psdrv.h +++ b/dlls/wineps.drv/psdrv.h @@ -191,7 +191,7 @@ typedef struct _tagDUPLEX { struct _tagDUPLEX *next; } DUPLEX; -/* Many MacOSX based ppd files don't include a *ColorDevice line, so +/* Many Mac OS X based ppd files don't include a *ColorDevice line, so we use a tristate here rather than a boolean. Code that cares is expected to treat these as if they were colour. */ typedef enum { diff --git a/programs/cmd/batch.c b/programs/cmd/batch.c index cb09d478e22..4624ea91efb 100644 --- a/programs/cmd/batch.c +++ b/programs/cmd/batch.c @@ -495,7 +495,7 @@ void WCMD_HandleTildaModifiers(char **start, char *forVariable) { /* 4. Handle 'z' : File length */ if (exists && memchr(firstModifier, 'z', modifierLen) != NULL) { - /* FIXME: Output full 64 bit size (sprintf not support I64 here) */ + /* FIXME: Output full 64 bit size (sprintf does not support I64 here) */ ULONG/*64*/ fullsize = /*(fileInfo.nFileSizeHigh << 32) +*/ fileInfo.nFileSizeLow; @@ -505,14 +505,14 @@ void WCMD_HandleTildaModifiers(char **start, char *forVariable) { strcat(finaloutput, thisoutput); } - /* 4. Handle 's' : Use short paths (File doesnt have to exist) */ + /* 4. Handle 's' : Use short paths (File doesn't have to exist) */ if (memchr(firstModifier, 's', modifierLen) != NULL) { if (finaloutput[0] != 0x00) strcat(finaloutput, " "); - /* Dont flag as doneModifier - %~s on its own is processed later */ + /* Don't flag as doneModifier - %~s on its own is processed later */ GetShortPathName(outputparam, outputparam, sizeof(outputparam)); } - /* 5. Handle 'f' : Fully qualified path (File doesnt have to exist) */ + /* 5. Handle 'f' : Fully qualified path (File doesn't have to exist) */ /* Note this overrides d,p,n,x */ if (memchr(firstModifier, 'f', modifierLen) != NULL) { doneModifier = TRUE; diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c index 6f451f8eb46..85f79800d7d 100644 --- a/programs/cmd/builtins.c +++ b/programs/cmd/builtins.c @@ -1504,7 +1504,7 @@ void WCMD_assoc (char *command) { return; } - /* If no paramaters then list all associations */ + /* If no parameters then list all associations */ if (*command == 0x00) { int index = 0; -- 2.11.4.GIT