Assorted spelling fixes.
This commit is contained in:
parent
eeb289ef91
commit
7b0cde8f84
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue