Assorted spelling and case fixes.

This commit is contained in:
Francois Gouget 2011-05-09 09:03:40 +02:00 committed by Alexandre Julliard
parent bfbc015854
commit 5920de5ffb
18 changed files with 31 additions and 31 deletions

View File

@ -465,7 +465,7 @@ int MONTHCAL_CalculateDayOfWeek(SYSTEMTIME *date, BOOL inplace)
return st.wDayOfWeek;
}
/* add/substract 'months' from date */
/* add/subtract 'months' from date */
static inline void MONTHCAL_GetMonth(SYSTEMTIME *date, INT months)
{
INT length, m = date->wMonth + months;
@ -2560,7 +2560,7 @@ MONTHCAL_Create(HWND hwnd, LPCREATESTRUCTW lpcs)
MONTHCAL_SetFont(infoPtr, GetStockObject(DEFAULT_GUI_FONT), FALSE);
/* initialize info structure */
/* FIXME: calculate systemtime ->> localtime(substract timezoneinfo) */
/* FIXME: calculate systemtime ->> localtime(subtract timezoneinfo) */
GetLocalTime(&infoPtr->todaysDate);
MONTHCAL_SetFirstDayOfWeek(infoPtr, -1);

View File

@ -721,7 +721,7 @@ static void test_verifyRevocation(void)
CertCloseStore(revPara.hCrlStore, 0);
/* Test again with a valid CRL. This time, the cert should be revoked when
* the time is after the validity period of the CRL, or considered
* "revocation offline" when the the checked time precedes the validity
* "revocation offline" when the checked time precedes the validity
* period of the CRL.
*/
revPara.hCrlStore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0,

View File

@ -5179,10 +5179,10 @@ static void cnd_test(IDirect3DDevice9 *device)
* set by the compiler, it was added manually after compilation. Note that the COISSUE
* flag on a color(.xyz) operation is only allowed after an alpha operation. DirectX doesn't
* have proper docs, but GL_ATI_fragment_shader explains the pairing of color and alpha ops
* good enough.
* well enough.
*
* The shader attempts to test the range [-1;1] against coissued cnd, which is a bit tricky.
* The input from t0 is [0;1]. 0.5 is substracted, then we have to multiply with 2. Since
* The input from t0 is [0;1]. 0.5 is subtracted, then we have to multiply with 2. Since
* constants are clamped to [-1;1], a 2.0 is constructed by adding c0.r(=1.0) to c0.r into r1.r,
* then r1(2.0, 0.0, 0.0, 0.0) is passed to dp3(explained above).
*/

View File

@ -2454,7 +2454,7 @@ static HRESULT triangulate(struct triangulation_array *triangulations)
/* Perform 2D polygon triangulation for complex glyphs.
* Triangulation is performed using a sweep line concept, from right to left,
* by processing vertices in sorted order. Complex polygons are split into
* monotone polygons which are triangulated seperately. */
* monotone polygons which are triangulated separately. */
/* FIXME: The order of the faces is not consistent with the native implementation. */
/* Reserve space for maximum possible faces from triangulation.

View File

@ -2530,7 +2530,7 @@ static BOOL compute_text_mesh(struct mesh *mesh, HDC hdc, LPCSTR text, FLOAT dev
}
/* FIXME: compute expected faces */
/* Add placeholder to seperate glyph outlines */
/* Add placeholder to separate glyph outlines */
vertex_ptr->position.x = 0;
vertex_ptr->position.y = 0;
vertex_ptr->position.z = 0;

View File

@ -119,7 +119,7 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token)
ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token)
{
/* Notice the slightly different prototype from the official
* signature which forces us to use the the _wrapper suffix.
* signature which forces us to use the _wrapper suffix.
*/
/* FIXME: no object tracking */

View File

@ -834,7 +834,7 @@ static void testNotifyAddrChange(void)
}
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret);
ret = GetLastError();
todo_wine ok(ret == ERROR_IO_PENDING, "GetLastError returned %d, excepted ERROR_IO_PENDING\n", ret);
todo_wine ok(ret == ERROR_IO_PENDING, "GetLastError returned %d, expected ERROR_IO_PENDING\n", ret);
success = gCancelIPChangeNotify(&overlapped);
todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n");
@ -849,9 +849,9 @@ static void testNotifyAddrChange(void)
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret);
todo_wine ok(handle != INVALID_HANDLE_VALUE, "NotifyAddrChange returned invalid file handle\n");
success = GetOverlappedResult(handle, &overlapped, &bytes, FALSE);
todo_wine ok(success == FALSE, "GetOverlappedResult returned TRUE, excepted FALSE\n");
todo_wine ok(success == FALSE, "GetOverlappedResult returned TRUE, expected FALSE\n");
ret = GetLastError();
todo_wine ok(ret == ERROR_IO_INCOMPLETE, "GetLastError returned %d, excepted ERROR_IO_INCOMPLETE\n", ret);
todo_wine ok(ret == ERROR_IO_INCOMPLETE, "GetLastError returned %d, expected ERROR_IO_INCOMPLETE\n", ret);
success = gCancelIPChangeNotify(&overlapped);
todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n");
@ -860,19 +860,19 @@ static void testNotifyAddrChange(void)
handle = NULL;
ZeroMemory(&overlapped, sizeof(overlapped));
overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
trace("Testing asyncronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces\n");
trace("Testing asynchronous ipv4 address change notification. Please "
"change the ipv4 address of one of your network interfaces\n");
ret = gNotifyAddrChange(&handle, &overlapped);
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret);
success = GetOverlappedResult(handle, &overlapped, &bytes, TRUE);
ok(success == TRUE, "GetOverlappedResult returned FALSE, excepted TRUE\n");
ok(success == TRUE, "GetOverlappedResult returned FALSE, expected TRUE\n");
}
/* test syncronous functionality */
/* test synchronous functionality */
if (winetest_interactive)
{
trace("Testing syncronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces\n");
trace("Testing synchronous ipv4 address change notification. Please "
"change the ipv4 address of one of your network interfaces\n");
ret = gNotifyAddrChange(NULL, NULL);
todo_wine ok(ret == NO_ERROR, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret);
}

View File

@ -1117,7 +1117,7 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_QueryInterface(nsIAsyncVerif
*result = &This->nsIAsyncVerifyRedirectCallback_iface;
}else {
*result = NULL;
WARN("unimplmented iface %s\n", debugstr_guid(riid));
WARN("unimplemented iface %s\n", debugstr_guid(riid));
return NS_NOINTERFACE;
}

View File

@ -21,7 +21,7 @@ document.write("<script>"
len = document.getElementsByTagName('script').length;
ok(len === 2, "script col length = " + len);
ok(executed, "writen script not executed");
ok(executed, "written script not executed");
external.reportSuccess();
</script>

View File

@ -7179,7 +7179,7 @@ static void test_nodeTypedValue(void)
VariantClear(&value);
}
hr = IXMLDOMDocument_createCDATASection(doc, _bstr_("[1]*2=3; &gee thats not right!"), &cdata);
hr = IXMLDOMDocument_createCDATASection(doc, _bstr_("[1]*2=3; &gee that's not right!"), &cdata);
ok(hr == S_OK, "ret %08x\n", hr );
{
V_VT(&value) = VT_NULL;
@ -7187,7 +7187,7 @@ static void test_nodeTypedValue(void)
hr = IXMLDOMCDATASection_get_nodeTypedValue(cdata, &value);
ok(hr == S_OK, "ret %08x\n", hr );
ok(V_VT(&value) == VT_BSTR, "got %d\n", V_VT(&value));
ok(!lstrcmpW(V_BSTR(&value), _bstr_("[1]*2=3; &gee thats not right!")), "got wrong value\n");
ok(!lstrcmpW(V_BSTR(&value), _bstr_("[1]*2=3; &gee that's not right!")), "got wrong value\n");
IXMLDOMCDATASection_Release(cdata);
VariantClear(&value);
}

View File

@ -1425,7 +1425,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
case CB_GETEDITSEL:
ret = callback( HWND_16(hwnd), CB_GETEDITSEL16, wParam, lParam, result, arg );
if (wParam) *((PUINT)(wParam)) = LOWORD(*result);
if (lParam) *((PUINT)(lParam)) = HIWORD(*result); /* FIXME: substract 1? */
if (lParam) *((PUINT)(lParam)) = HIWORD(*result); /* FIXME: subtract 1? */
break;
case CB_ADDSTRING:
case CB_FINDSTRING:

View File

@ -1120,7 +1120,7 @@ static void test_ScriptXtoX(void)
ok(piTrailing == 1, "iX=%d should return piTrailing=1 not %d\n", iX, piTrailing);
}
/* 0,1,2 are actaully fractional offsets meaning that they will not be reporting the same iCP as comes in so dont test those */
/* 0,1,2 are actually fractional offsets meaning that they will not be reporting the same iCP as comes in so don't test those */
for(iCP = 3; iCP < 10; iCP++)
{
iX = offsets[iCP];
@ -1240,7 +1240,7 @@ static void test_ScriptString(HDC hdc)
*
* This set of tests are for the string functions of uniscribe. The ScriptStringAnalyse
* function allocates memory pointed to by the SCRIPT_STRING_ANALYSIS ssa pointer. This
* memory if freed by ScriptStringFree. There needs to be a valid hdc for this as
* memory is freed by ScriptStringFree. There needs to be a valid hdc for this as
* ScriptStringAnalyse calls ScriptSItemize, ScriptShape and ScriptPlace which require it.
*
*/

View File

@ -1380,7 +1380,7 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
}
/* DirectDraw supports 8bit paletted render targets and these are used by
* old games like Starcraft and C&C. Most modern hardware doesn't support
* old games like StarCraft and C&C. Most modern hardware doesn't support
* 8bit natively so we perform some form of 8bit -> 32bit conversion. The
* conversion (ab)uses the alpha component for storing the palette index.
* For this reason we require a format with 8bit alpha, so request

View File

@ -1213,7 +1213,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
/* DirectX apps expect integer values, while OpenGL drivers add approximately 0.5. This causes
* off-by-one problems as spotted by the vPos d3d9 visual test. Unfortunately the ATI cards do
* not add exactly 0.5, but rather something like 0.49999999 or 0.50000001, which still causes
* precision troubles when we just substract 0.5.
* precision troubles when we just subtract 0.5.
*
* To deal with that just floor() the position. This will eliminate the fraction on all cards.
*

View File

@ -263,7 +263,7 @@ static GLenum gl_blend_factor(WINED3DBLEND factor, const struct wined3d_format *
/* To compensate for the lack of format switching with backbuffer
* offscreen rendering, and with onscreen rendering, we modify the
* alpha test parameters for (INV)DESTALPHA if the render target
* doesn't support alpha blending. A non-existent alpha channel
* doesn't support alpha blending. A nonexistent alpha channel
* returns 1.0, so WINED3DBLEND_DESTALPHA becomes GL_ONE, and
* WINED3DBLEND_INVDESTALPHA becomes GL_ZERO. */
case WINED3DBLEND_DESTALPHA:

View File

@ -207,9 +207,9 @@ HRESULT CDECL wined3d_swapchain_get_raster_status(const struct wined3d_swapchain
}
/* Obtaining the raster status is a widely implemented but optional
* feature. When this method returns OK Starcraft 2 expects the
* feature. When this method returns OK StarCraft 2 expects the
* raster_status->InVBlank value to actually change over time. To prevent
* Starcraft 2 from running in an infinite loop at startup this method
* StarCraft 2 from running in an infinite loop at startup this method
* returns INVALIDCALL. */
return WINED3DERR_INVALIDCALL;
}

View File

@ -905,7 +905,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
if (err != noErr)
{
FIXME("Quicktime cannot handle media type(%i)\n",err);
FIXME("QuickTime cannot handle media type(%i)\n",err);
return VFW_E_TYPE_NOT_ACCEPTED;
}

View File

@ -1179,7 +1179,7 @@ static void export_hkey(FILE *file, HKEY key,
line_len += len;
/* At this point we know wstr is '\0'-terminated
* so we can substract 1 from the size
* so we can subtract 1 from the size
*/
REGPROC_export_string(line_buf, line_buf_size, &line_len, wstr, val_size1 / sizeof(WCHAR) - 1);