Assorted spelling fixes.

This commit is contained in:
Francois Gouget 2007-03-06 14:26:24 +01:00 committed by Alexandre Julliard
parent eeb289ef91
commit 7b0cde8f84
5 changed files with 8 additions and 8 deletions

View File

@ -207,7 +207,7 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
ok(bindinfo.dwOptionsFlags == 0, "bindinfo.dwOptionsFlags=%d\n", bindinfo.dwOptionsFlags); ok(bindinfo.dwOptionsFlags == 0, "bindinfo.dwOptionsFlags=%d\n", bindinfo.dwOptionsFlags);
/* TODO: test dwCodePage */ /* TODO: test dwCodePage */
/* TODO: test securityAttributes */ /* 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.pUnk == NULL, "bindinfo.pUnk=%p\n", bindinfo.pUnk);
ok(bindinfo.dwReserved == 0, "bindinfo.dwReserved=%d\n", bindinfo.dwReserved); ok(bindinfo.dwReserved == 0, "bindinfo.dwReserved=%d\n", bindinfo.dwReserved);

View File

@ -1195,7 +1195,7 @@ static void test_readonlyfile(void)
lstrcat(path, "\\maximus"); lstrcat(path, "\\maximus");
file = CreateFile(path, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, file = CreateFile(path, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL, CREATE_NEW, FILE_ATTRIBUTE_READONLY, NULL); 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); WriteFile(file, "readonlyfile", 20, &size, NULL);
CloseHandle(file); CloseHandle(file);

View File

@ -191,7 +191,7 @@ typedef struct _tagDUPLEX {
struct _tagDUPLEX *next; struct _tagDUPLEX *next;
} DUPLEX; } 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 we use a tristate here rather than a boolean. Code that
cares is expected to treat these as if they were colour. */ cares is expected to treat these as if they were colour. */
typedef enum { typedef enum {

View File

@ -495,7 +495,7 @@ void WCMD_HandleTildaModifiers(char **start, char *forVariable) {
/* 4. Handle 'z' : File length */ /* 4. Handle 'z' : File length */
if (exists && if (exists &&
memchr(firstModifier, 'z', modifierLen) != NULL) { 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) +*/ ULONG/*64*/ fullsize = /*(fileInfo.nFileSizeHigh << 32) +*/
fileInfo.nFileSizeLow; fileInfo.nFileSizeLow;
@ -505,14 +505,14 @@ void WCMD_HandleTildaModifiers(char **start, char *forVariable) {
strcat(finaloutput, thisoutput); 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 (memchr(firstModifier, 's', modifierLen) != NULL) {
if (finaloutput[0] != 0x00) strcat(finaloutput, " "); 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)); 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 */ /* Note this overrides d,p,n,x */
if (memchr(firstModifier, 'f', modifierLen) != NULL) { if (memchr(firstModifier, 'f', modifierLen) != NULL) {
doneModifier = TRUE; doneModifier = TRUE;

View File

@ -1504,7 +1504,7 @@ void WCMD_assoc (char *command) {
return; return;
} }
/* If no paramaters then list all associations */ /* If no parameters then list all associations */
if (*command == 0x00) { if (*command == 0x00) {
int index = 0; int index = 0;