Commit 5920de5f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling and case fixes.

parent bfbc0158
...@@ -465,7 +465,7 @@ int MONTHCAL_CalculateDayOfWeek(SYSTEMTIME *date, BOOL inplace) ...@@ -465,7 +465,7 @@ int MONTHCAL_CalculateDayOfWeek(SYSTEMTIME *date, BOOL inplace)
return st.wDayOfWeek; return st.wDayOfWeek;
} }
/* add/substract 'months' from date */ /* add/subtract 'months' from date */
static inline void MONTHCAL_GetMonth(SYSTEMTIME *date, INT months) static inline void MONTHCAL_GetMonth(SYSTEMTIME *date, INT months)
{ {
INT length, m = date->wMonth + months; INT length, m = date->wMonth + months;
...@@ -2560,7 +2560,7 @@ MONTHCAL_Create(HWND hwnd, LPCREATESTRUCTW lpcs) ...@@ -2560,7 +2560,7 @@ MONTHCAL_Create(HWND hwnd, LPCREATESTRUCTW lpcs)
MONTHCAL_SetFont(infoPtr, GetStockObject(DEFAULT_GUI_FONT), FALSE); MONTHCAL_SetFont(infoPtr, GetStockObject(DEFAULT_GUI_FONT), FALSE);
/* initialize info structure */ /* initialize info structure */
/* FIXME: calculate systemtime ->> localtime(substract timezoneinfo) */ /* FIXME: calculate systemtime ->> localtime(subtract timezoneinfo) */
GetLocalTime(&infoPtr->todaysDate); GetLocalTime(&infoPtr->todaysDate);
MONTHCAL_SetFirstDayOfWeek(infoPtr, -1); MONTHCAL_SetFirstDayOfWeek(infoPtr, -1);
......
...@@ -721,7 +721,7 @@ static void test_verifyRevocation(void) ...@@ -721,7 +721,7 @@ static void test_verifyRevocation(void)
CertCloseStore(revPara.hCrlStore, 0); CertCloseStore(revPara.hCrlStore, 0);
/* Test again with a valid CRL. This time, the cert should be revoked when /* 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 * 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. * period of the CRL.
*/ */
revPara.hCrlStore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0, revPara.hCrlStore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, 0,
......
...@@ -5179,10 +5179,10 @@ static void cnd_test(IDirect3DDevice9 *device) ...@@ -5179,10 +5179,10 @@ static void cnd_test(IDirect3DDevice9 *device)
* set by the compiler, it was added manually after compilation. Note that the COISSUE * 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 * 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 * 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 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, * 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). * then r1(2.0, 0.0, 0.0, 0.0) is passed to dp3(explained above).
*/ */
......
...@@ -2454,7 +2454,7 @@ static HRESULT triangulate(struct triangulation_array *triangulations) ...@@ -2454,7 +2454,7 @@ static HRESULT triangulate(struct triangulation_array *triangulations)
/* Perform 2D polygon triangulation for complex glyphs. /* Perform 2D polygon triangulation for complex glyphs.
* Triangulation is performed using a sweep line concept, from right to left, * Triangulation is performed using a sweep line concept, from right to left,
* by processing vertices in sorted order. Complex polygons are split into * 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. */ /* FIXME: The order of the faces is not consistent with the native implementation. */
/* Reserve space for maximum possible faces from triangulation. /* Reserve space for maximum possible faces from triangulation.
......
...@@ -2530,7 +2530,7 @@ static BOOL compute_text_mesh(struct mesh *mesh, HDC hdc, LPCSTR text, FLOAT dev ...@@ -2530,7 +2530,7 @@ static BOOL compute_text_mesh(struct mesh *mesh, HDC hdc, LPCSTR text, FLOAT dev
} }
/* FIXME: compute expected faces */ /* FIXME: compute expected faces */
/* Add placeholder to seperate glyph outlines */ /* Add placeholder to separate glyph outlines */
vertex_ptr->position.x = 0; vertex_ptr->position.x = 0;
vertex_ptr->position.y = 0; vertex_ptr->position.y = 0;
vertex_ptr->position.z = 0; vertex_ptr->position.z = 0;
......
...@@ -119,7 +119,7 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token) ...@@ -119,7 +119,7 @@ void WINAPI GdiplusNotificationUnhook(ULONG_PTR token)
ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token) ULONG WINAPI GdiplusShutdown_wrapper(ULONG_PTR token)
{ {
/* Notice the slightly different prototype from the official /* 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 */ /* FIXME: no object tracking */
......
...@@ -834,7 +834,7 @@ static void testNotifyAddrChange(void) ...@@ -834,7 +834,7 @@ static void testNotifyAddrChange(void)
} }
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret); ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret);
ret = GetLastError(); 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); success = gCancelIPChangeNotify(&overlapped);
todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n"); todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n");
...@@ -849,9 +849,9 @@ static void testNotifyAddrChange(void) ...@@ -849,9 +849,9 @@ static void testNotifyAddrChange(void)
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected ERROR_IO_PENDING\n", ret); 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"); todo_wine ok(handle != INVALID_HANDLE_VALUE, "NotifyAddrChange returned invalid file handle\n");
success = GetOverlappedResult(handle, &overlapped, &bytes, FALSE); 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(); 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); success = gCancelIPChangeNotify(&overlapped);
todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n"); todo_wine ok(success == TRUE, "CancelIPChangeNotify returned FALSE, expected TRUE\n");
...@@ -860,19 +860,19 @@ static void testNotifyAddrChange(void) ...@@ -860,19 +860,19 @@ static void testNotifyAddrChange(void)
handle = NULL; handle = NULL;
ZeroMemory(&overlapped, sizeof(overlapped)); ZeroMemory(&overlapped, sizeof(overlapped));
overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
trace("Testing asyncronous ipv4 address change notification. Please " trace("Testing asynchronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces\n"); "change the ipv4 address of one of your network interfaces\n");
ret = gNotifyAddrChange(&handle, &overlapped); ret = gNotifyAddrChange(&handle, &overlapped);
ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret); ok(ret == ERROR_IO_PENDING, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret);
success = GetOverlappedResult(handle, &overlapped, &bytes, TRUE); 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) if (winetest_interactive)
{ {
trace("Testing syncronous ipv4 address change notification. Please " trace("Testing synchronous ipv4 address change notification. Please "
"change ipv4 address of one of your network interfaces\n"); "change the ipv4 address of one of your network interfaces\n");
ret = gNotifyAddrChange(NULL, NULL); ret = gNotifyAddrChange(NULL, NULL);
todo_wine ok(ret == NO_ERROR, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret); todo_wine ok(ret == NO_ERROR, "NotifyAddrChange returned %d, expected NO_ERROR\n", ret);
} }
......
...@@ -1117,7 +1117,7 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_QueryInterface(nsIAsyncVerif ...@@ -1117,7 +1117,7 @@ static nsresult NSAPI nsAsyncVerifyRedirectCallback_QueryInterface(nsIAsyncVerif
*result = &This->nsIAsyncVerifyRedirectCallback_iface; *result = &This->nsIAsyncVerifyRedirectCallback_iface;
}else { }else {
*result = NULL; *result = NULL;
WARN("unimplmented iface %s\n", debugstr_guid(riid)); WARN("unimplemented iface %s\n", debugstr_guid(riid));
return NS_NOINTERFACE; return NS_NOINTERFACE;
} }
......
...@@ -21,7 +21,7 @@ document.write("<script>" ...@@ -21,7 +21,7 @@ document.write("<script>"
len = document.getElementsByTagName('script').length; len = document.getElementsByTagName('script').length;
ok(len === 2, "script col length = " + len); ok(len === 2, "script col length = " + len);
ok(executed, "writen script not executed"); ok(executed, "written script not executed");
external.reportSuccess(); external.reportSuccess();
</script> </script>
......
...@@ -7179,7 +7179,7 @@ static void test_nodeTypedValue(void) ...@@ -7179,7 +7179,7 @@ static void test_nodeTypedValue(void)
VariantClear(&value); 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 ); ok(hr == S_OK, "ret %08x\n", hr );
{ {
V_VT(&value) = VT_NULL; V_VT(&value) = VT_NULL;
...@@ -7187,7 +7187,7 @@ static void test_nodeTypedValue(void) ...@@ -7187,7 +7187,7 @@ static void test_nodeTypedValue(void)
hr = IXMLDOMCDATASection_get_nodeTypedValue(cdata, &value); hr = IXMLDOMCDATASection_get_nodeTypedValue(cdata, &value);
ok(hr == S_OK, "ret %08x\n", hr ); ok(hr == S_OK, "ret %08x\n", hr );
ok(V_VT(&value) == VT_BSTR, "got %d\n", V_VT(&value)); 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); IXMLDOMCDATASection_Release(cdata);
VariantClear(&value); VariantClear(&value);
} }
......
...@@ -1425,7 +1425,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT ...@@ -1425,7 +1425,7 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
case CB_GETEDITSEL: case CB_GETEDITSEL:
ret = callback( HWND_16(hwnd), CB_GETEDITSEL16, wParam, lParam, result, arg ); ret = callback( HWND_16(hwnd), CB_GETEDITSEL16, wParam, lParam, result, arg );
if (wParam) *((PUINT)(wParam)) = LOWORD(*result); 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; break;
case CB_ADDSTRING: case CB_ADDSTRING:
case CB_FINDSTRING: case CB_FINDSTRING:
......
...@@ -1120,7 +1120,7 @@ static void test_ScriptXtoX(void) ...@@ -1120,7 +1120,7 @@ static void test_ScriptXtoX(void)
ok(piTrailing == 1, "iX=%d should return piTrailing=1 not %d\n", iX, piTrailing); 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++) for(iCP = 3; iCP < 10; iCP++)
{ {
iX = offsets[iCP]; iX = offsets[iCP];
...@@ -1240,7 +1240,7 @@ static void test_ScriptString(HDC hdc) ...@@ -1240,7 +1240,7 @@ static void test_ScriptString(HDC hdc)
* *
* This set of tests are for the string functions of uniscribe. The ScriptStringAnalyse * 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 * 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. * ScriptStringAnalyse calls ScriptSItemize, ScriptShape and ScriptPlace which require it.
* *
*/ */
......
...@@ -1380,7 +1380,7 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain, ...@@ -1380,7 +1380,7 @@ struct wined3d_context *context_create(struct wined3d_swapchain *swapchain,
} }
/* DirectDraw supports 8bit paletted render targets and these are used by /* 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 * 8bit natively so we perform some form of 8bit -> 32bit conversion. The
* conversion (ab)uses the alpha component for storing the palette index. * conversion (ab)uses the alpha component for storing the palette index.
* For this reason we require a format with 8bit alpha, so request * For this reason we require a format with 8bit alpha, so request
......
...@@ -1213,7 +1213,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont ...@@ -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 /* 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 * 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 * 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. * To deal with that just floor() the position. This will eliminate the fraction on all cards.
* *
......
...@@ -263,7 +263,7 @@ static GLenum gl_blend_factor(WINED3DBLEND factor, const struct wined3d_format * ...@@ -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 /* To compensate for the lack of format switching with backbuffer
* offscreen rendering, and with onscreen rendering, we modify the * offscreen rendering, and with onscreen rendering, we modify the
* alpha test parameters for (INV)DESTALPHA if the render target * 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 * returns 1.0, so WINED3DBLEND_DESTALPHA becomes GL_ONE, and
* WINED3DBLEND_INVDESTALPHA becomes GL_ZERO. */ * WINED3DBLEND_INVDESTALPHA becomes GL_ZERO. */
case WINED3DBLEND_DESTALPHA: case WINED3DBLEND_DESTALPHA:
......
...@@ -207,9 +207,9 @@ HRESULT CDECL wined3d_swapchain_get_raster_status(const struct wined3d_swapchain ...@@ -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 /* 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 * 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. */ * returns INVALIDCALL. */
return WINED3DERR_INVALIDCALL; return WINED3DERR_INVALIDCALL;
} }
......
...@@ -905,7 +905,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter) ...@@ -905,7 +905,7 @@ static HRESULT QT_Process_Movie(QTSplitter* filter)
if (err != noErr) 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; return VFW_E_TYPE_NOT_ACCEPTED;
} }
......
...@@ -1179,7 +1179,7 @@ static void export_hkey(FILE *file, HKEY key, ...@@ -1179,7 +1179,7 @@ static void export_hkey(FILE *file, HKEY key,
line_len += len; line_len += len;
/* At this point we know wstr is '\0'-terminated /* 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); REGPROC_export_string(line_buf, line_buf_size, &line_len, wstr, val_size1 / sizeof(WCHAR) - 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment