Assorted spelling fixes.
This commit is contained in:
parent
2d6685f4ec
commit
87c7c961f2
|
@ -1029,7 +1029,7 @@ static UINT set(struct ID3DXConstantTableImpl *table, IDirect3DDevice9 *device,
|
|||
UINT l, i, regcount = 1, regsize = 1, cin = 1, rin = 1, ret, last = 0;
|
||||
DWORD tmp;
|
||||
|
||||
/* size to small to set anything */
|
||||
/* size too small to set anything */
|
||||
if (*size < desc->Rows * desc->Columns)
|
||||
{
|
||||
*size = 0;
|
||||
|
|
|
@ -1715,7 +1715,7 @@ static void test_effect_parameter_value(IDirect3DDevice9 *device)
|
|||
/* check size */
|
||||
ok(EFFECT_PARAMETER_VALUE_ARRAY_SIZE >= res_desc->Bytes / 4 +
|
||||
(res_desc->Elements ? res_desc->Bytes / 4 / res_desc->Elements : 0),
|
||||
"%u - %s: Warning: Array size to small\n", i, res_full_name);
|
||||
"%u - %s: Warning: Array size too small\n", i, res_full_name);
|
||||
|
||||
test_effect_parameter_value_GetTestGroup(&res[k], effect, &blob[res_value_offset], parameter, i);
|
||||
test_effect_parameter_value_ResetValue(&res[k], effect, &blob[res_value_offset], parameter, i);
|
||||
|
|
|
@ -884,7 +884,7 @@ static void test_clock(int share)
|
|||
|
||||
hr = IAudioClient_GetDevicePeriod(ac, &defp, &minp);
|
||||
ok(hr == S_OK, "GetDevicePeriod failed: %08x\n", hr);
|
||||
ok(minp <= period, "desired period %u to small for %u\n", (ULONG)period, (ULONG)minp);
|
||||
ok(minp <= period, "desired period %u too small for %u\n", (ULONG)period, (ULONG)minp);
|
||||
|
||||
if (share) {
|
||||
trace("Testing shared mode\n");
|
||||
|
|
|
@ -1065,7 +1065,7 @@ static void test_dpe_exceptions(void)
|
|||
DWORD val;
|
||||
ULONG len;
|
||||
|
||||
/* Query DEP with len to small */
|
||||
/* Query DEP with len too small */
|
||||
stat = pNtQueryInformationProcess(GetCurrentProcess(), ProcessExecuteFlags, &val, sizeof val - 1, &len);
|
||||
if(stat == STATUS_INVALID_INFO_CLASS)
|
||||
{
|
||||
|
|
|
@ -2597,7 +2597,7 @@ static void test_DoEnvironmentSubst(void)
|
|||
" 0: got %s (expected %s)\n", wine_dbgstr_w(bufferW), wine_dbgstr_w(expectedW));
|
||||
|
||||
|
||||
/* buffer to small */
|
||||
/* Buffer too small */
|
||||
/* result: FALSE / provided buffer length / the buffer is untouched */
|
||||
memset(bufferA, '#', MAX_PATH - 1);
|
||||
bufferA[len + 2] = 0;
|
||||
|
|
|
@ -1659,7 +1659,7 @@ static void test_GetPrintProcessorDirectory(void)
|
|||
res = GetPrintProcessorDirectoryA(NULL, NULL, 1, buffer, cbBuf*2, &pcbNeeded);
|
||||
ok(res, "returned %d with %d (expected '!= 0')\n", res, GetLastError());
|
||||
|
||||
/* Buffer to small */
|
||||
/* Buffer too small */
|
||||
buffer[0] = '\0';
|
||||
SetLastError(0xdeadbeef);
|
||||
res = GetPrintProcessorDirectoryA( NULL, NULL, 1, buffer, cbBuf-1, &pcbNeeded);
|
||||
|
|
|
@ -820,7 +820,7 @@ static HRESULT open_module16_icon(LPCWSTR szFileName, int nIndex, IStream **ppSt
|
|||
iconDirPtr = (NE_NAMEINFO*)(((BYTE*)iconGroupResources) + sizeof(NE_TYPEINFO) + nIndex*sizeof(NE_NAMEINFO));
|
||||
if ((((BYTE*)iconDirPtr) + sizeof(NE_NAMEINFO)) > (fileBytes + fileSize))
|
||||
{
|
||||
WINE_WARN("file to small for icon group NE_NAMEINFO\n");
|
||||
WINE_WARN("file too small for icon group NE_NAMEINFO\n");
|
||||
goto end;
|
||||
}
|
||||
iconDir = (GRPICONDIR*)(fileBytes + (iconDirPtr->offset << alignmentShiftCount));
|
||||
|
|
Loading…
Reference in New Issue