Assorted spelling/grammar fixes.
This commit is contained in:
parent
82f9e8a79e
commit
1e214eb5d3
|
@ -490,8 +490,8 @@ static void fog_test(IDirect3DDevice7 *device)
|
||||||
{{ 0.0f, 0.0f, 1.5f}, 0xffff0000, 0xff000000},
|
{{ 0.0f, 0.0f, 1.5f}, 0xffff0000, 0xff000000},
|
||||||
};
|
};
|
||||||
/* Untransformed ones. Give them a different diffuse color to make the
|
/* Untransformed ones. Give them a different diffuse color to make the
|
||||||
* test look nicer. It also makes making sure that they are drawn
|
* test look nicer. It also helps making sure that they are drawn
|
||||||
* correctly easier. */
|
* correctly. */
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
struct vec4 position;
|
struct vec4 position;
|
||||||
|
|
|
@ -503,7 +503,7 @@ DWORD WINAPI GetFirmwareEnvironmentVariableA(LPCSTR name, LPCSTR guid, PVOID buf
|
||||||
}
|
}
|
||||||
|
|
||||||
/***********************************************************************
|
/***********************************************************************
|
||||||
* GetFirmwareEnvironmentVariableA (KERNEL32.@)
|
* GetFirmwareEnvironmentVariableW (KERNEL32.@)
|
||||||
*/
|
*/
|
||||||
DWORD WINAPI GetFirmwareEnvironmentVariableW(LPCWSTR name, LPCWSTR guid, PVOID buffer, DWORD size)
|
DWORD WINAPI GetFirmwareEnvironmentVariableW(LPCWSTR name, LPCWSTR guid, PVOID buffer, DWORD size)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4324,7 +4324,7 @@ static const struct geoinfo_t *get_geoinfo_dataptr(GEOID geoid)
|
||||||
|
|
||||||
ptr = &geoinfodata[n];
|
ptr = &geoinfodata[n];
|
||||||
if (geoid == ptr->id)
|
if (geoid == ptr->id)
|
||||||
/* we don't need empty entry */
|
/* we don't need empty entries */
|
||||||
return *ptr->iso2W ? ptr : NULL;
|
return *ptr->iso2W ? ptr : NULL;
|
||||||
|
|
||||||
if (ptr->id > geoid)
|
if (ptr->id > geoid)
|
||||||
|
|
|
@ -3971,7 +3971,7 @@ static void test_EnumSystemGeoID(void)
|
||||||
ret = pEnumSystemGeoID(GEOCLASS_NATION, 0, test_geoid_enumproc);
|
ret = pEnumSystemGeoID(GEOCLASS_NATION, 0, test_geoid_enumproc);
|
||||||
ok(ret, "got %d\n", ret);
|
ok(ret, "got %d\n", ret);
|
||||||
|
|
||||||
/* only first level is enumerated, not the whole hierarchy */
|
/* only the first level is enumerated, not the whole hierarchy */
|
||||||
geoidenum_count = 0;
|
geoidenum_count = 0;
|
||||||
ret = pEnumSystemGeoID(GEOCLASS_NATION, 39070, test_geoid_enumproc2);
|
ret = pEnumSystemGeoID(GEOCLASS_NATION, 39070, test_geoid_enumproc2);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
|
|
|
@ -1626,7 +1626,7 @@ static void test_PathIsRelativeW(void)
|
||||||
LPWSTR path;
|
LPWSTR path;
|
||||||
|
|
||||||
if (!pPathIsRelativeW) {
|
if (!pPathIsRelativeW) {
|
||||||
win_skip("PathIsRelativeA not available\n");
|
win_skip("PathIsRelativeW not available\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,7 @@ struct inner_data {
|
||||||
void (*fnSetFont)(struct inner_data* data, const WCHAR* font, unsigned height, unsigned weight);
|
void (*fnSetFont)(struct inner_data* data, const WCHAR* font, unsigned height, unsigned weight);
|
||||||
void (*fnDeleteBackend)(struct inner_data* data);
|
void (*fnDeleteBackend)(struct inner_data* data);
|
||||||
|
|
||||||
void* private; /* data part belonging to the chosen backed */
|
void* private; /* data part belonging to the chosen backend */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* from wineconsole.c */
|
/* from wineconsole.c */
|
||||||
|
|
|
@ -309,7 +309,7 @@ static HLPFILE_WINDOWINFO* WINHELP_GetPopupWindowInfo(HLPFILE* hlpfile,
|
||||||
/* Calculate horizontal size and position of a popup window */
|
/* Calculate horizontal size and position of a popup window */
|
||||||
GetWindowRect(parent->hMainWnd, &parent_rect);
|
GetWindowRect(parent->hMainWnd, &parent_rect);
|
||||||
wi.size.cx = (parent_rect.right - parent_rect.left) / 2;
|
wi.size.cx = (parent_rect.right - parent_rect.left) / 2;
|
||||||
wi.size.cy = 10; /* need a non null value, so that border are taken into account while computing */
|
wi.size.cy = 10; /* need a non null value, so that borders are taken into account while computing */
|
||||||
|
|
||||||
wi.origin.x = (short)LOWORD(mouse);
|
wi.origin.x = (short)LOWORD(mouse);
|
||||||
wi.origin.y = (short)HIWORD(mouse);
|
wi.origin.y = (short)HIWORD(mouse);
|
||||||
|
|
Loading…
Reference in New Issue