Assorted spelling fixes.
This commit is contained in:
parent
2b6abd5f85
commit
81a5701ca9
|
@ -130,8 +130,8 @@ static const WELLKNOWNSID WellKnownSids[] =
|
||||||
{ {0,0}, WinBuiltinDCOMUsersSid, { SID_REVISION, 2, { SECURITY_NT_AUTHORITY }, { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_DCOM_USERS } } },
|
{ {0,0}, WinBuiltinDCOMUsersSid, { SID_REVISION, 2, { SECURITY_NT_AUTHORITY }, { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_DCOM_USERS } } },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* these SIDs must be constructed as relative to some domain - only the RID is well-kown */
|
/* these SIDs must be constructed as relative to some domain - only the RID is well-known */
|
||||||
typedef struct WELLKOWNRID
|
typedef struct WELLKNOWNRID
|
||||||
{
|
{
|
||||||
WELL_KNOWN_SID_TYPE Type;
|
WELL_KNOWN_SID_TYPE Type;
|
||||||
DWORD Rid;
|
DWORD Rid;
|
||||||
|
|
|
@ -147,7 +147,7 @@ START_TEST(loader)
|
||||||
1, sizeof(IMAGE_OPTIONAL_HEADER), 0x200, 0x1000,
|
1, sizeof(IMAGE_OPTIONAL_HEADER), 0x200, 0x1000,
|
||||||
sizeof(dos_header) + sizeof(nt_header) + sizeof(IMAGE_SECTION_HEADER) + 0x1000,
|
sizeof(dos_header) + sizeof(nt_header) + sizeof(IMAGE_SECTION_HEADER) + 0x1000,
|
||||||
sizeof(dos_header) + sizeof(nt_header) + sizeof(IMAGE_SECTION_HEADER),
|
sizeof(dos_header) + sizeof(nt_header) + sizeof(IMAGE_SECTION_HEADER),
|
||||||
ERROR_BAD_EXE_FORMAT /* XP doesn't like aligments */
|
ERROR_BAD_EXE_FORMAT /* XP doesn't like alignments */
|
||||||
},
|
},
|
||||||
{ &dos_header, sizeof(dos_header),
|
{ &dos_header, sizeof(dos_header),
|
||||||
1, sizeof(IMAGE_OPTIONAL_HEADER), 0x1000, 0x200,
|
1, sizeof(IMAGE_OPTIONAL_HEADER), 0x1000, 0x200,
|
||||||
|
|
|
@ -390,7 +390,7 @@ int WINAPI RestartDialogEx(HWND hWndOwner, LPCWSTR lpwstrReason, DWORD uFlags, D
|
||||||
HANDLE hToken;
|
HANDLE hToken;
|
||||||
TOKEN_PRIVILEGES npr;
|
TOKEN_PRIVILEGES npr;
|
||||||
|
|
||||||
/* enable shutdown privilege for current process */
|
/* enable the shutdown privilege for the current process */
|
||||||
if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &hToken))
|
if (OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &hToken))
|
||||||
{
|
{
|
||||||
LookupPrivilegeValueA(0, "SeShutdownPrivilege", &npr.Privileges[0].Luid);
|
LookupPrivilegeValueA(0, "SeShutdownPrivilege", &npr.Privileges[0].Luid);
|
||||||
|
|
|
@ -2537,7 +2537,7 @@ void pshader_glsl_texkill(SHADER_OPCODE_ARG* arg) {
|
||||||
/* 2.0 shaders compare all 4 components in texkill */
|
/* 2.0 shaders compare all 4 components in texkill */
|
||||||
shader_addline(arg->buffer, "if (any(lessThan(%s.xyzw, vec4(0.0)))) discard;\n", dst_param.reg_name);
|
shader_addline(arg->buffer, "if (any(lessThan(%s.xyzw, vec4(0.0)))) discard;\n", dst_param.reg_name);
|
||||||
} else {
|
} else {
|
||||||
/* 1.X shaders only compare the first 3 components, propably due to the nature of the texkill
|
/* 1.X shaders only compare the first 3 components, probably due to the nature of the texkill
|
||||||
* instruction as a tex* instruction, and phase, which kills all a / w components. Even if all
|
* instruction as a tex* instruction, and phase, which kills all a / w components. Even if all
|
||||||
* 4 components are defined, only the first 3 are used
|
* 4 components are defined, only the first 3 are used
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -94,8 +94,8 @@ Do not preprocess input.
|
||||||
.IP "\fB-W\fR"
|
.IP "\fB-W\fR"
|
||||||
Enable pedantic warnings.
|
Enable pedantic warnings.
|
||||||
.IP "\fB-d \fIn\fR"
|
.IP "\fB-d \fIn\fR"
|
||||||
Set debug level to the nonnegative integer \fIn\fR. If
|
Set debug level to the non negative integer \fIn\fR. If
|
||||||
prefixed with \fB0x\fR, it will be interpretted as a hexidecimal
|
prefixed with \fB0x\fR, it will be interpreted as an hexadecimal
|
||||||
number. For the meaning of values, see the \fBDebug\fR section.
|
number. For the meaning of values, see the \fBDebug\fR section.
|
||||||
.PP
|
.PP
|
||||||
.B Miscellaneous options:
|
.B Miscellaneous options:
|
||||||
|
|
Loading…
Reference in New Issue