Commit e74efb54 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Assorted spelling fixes.

parent b4aede60
...@@ -689,7 +689,7 @@ static LPDWORD build_zonemap_from_reg(void) ...@@ -689,7 +689,7 @@ static LPDWORD build_zonemap_from_reg(void)
WCHAR name[32]; WCHAR name[32];
HKEY hkey; HKEY hkey;
LPDWORD data = NULL; LPDWORD data = NULL;
DWORD allocated = 6; /* space for the zonecount and Zone "0" upto Zone "4" */ DWORD allocated = 6; /* space for the zonecount and Zone "0" up to Zone "4" */
DWORD used = 0; DWORD used = 0;
DWORD res; DWORD res;
DWORD len; DWORD len;
......
...@@ -496,7 +496,7 @@ static void test_GetZoneAttributes(void) ...@@ -496,7 +496,7 @@ static void test_GetZoneAttributes(void)
if (FAILED(hr)) if (FAILED(hr))
return; return;
/* native urlmon has Zone "0" upto Zone "4" since IE4 */ /* native urlmon has Zone "0" up to Zone "4" since IE4 */
for (i = 0; i < 5; i++) { for (i = 0; i < 5; i++) {
memset(buffer, -1, sizeof(buffer)); memset(buffer, -1, sizeof(buffer));
hr = IInternetZoneManager_GetZoneAttributes(zonemgr, i, pZA); hr = IInternetZoneManager_GetZoneAttributes(zonemgr, i, pZA);
......
...@@ -3023,7 +3023,7 @@ static void test_menu_maxdepth(void) ...@@ -3023,7 +3023,7 @@ static void test_menu_maxdepth(void)
hmenus[i] = CreatePopupMenu(); hmenus[i] = CreatePopupMenu();
if( !hmenus[i]) break; if( !hmenus[i]) break;
} }
ok( i == NR_MENUS, "could not create more then %d menu's\n", i); ok( i == NR_MENUS, "could not create more than %d menu's\n", i);
for( i = 1; i < NR_MENUS; i++) { for( i = 1; i < NR_MENUS; i++) {
ret = AppendMenuA( hmenus[i], MF_POPUP, (UINT_PTR)hmenus[i-1],"test"); ret = AppendMenuA( hmenus[i], MF_POPUP, (UINT_PTR)hmenus[i-1],"test");
if( !ret) break; if( !ret) break;
......
...@@ -400,7 +400,7 @@ static HRESULT WINAPI IDsDriverBufferImpl_Unlock(PIDSDRIVERBUFFER iface, ...@@ -400,7 +400,7 @@ static HRESULT WINAPI IDsDriverBufferImpl_Unlock(PIDSDRIVERBUFFER iface,
ret = snd_pcm_writei(This->pcm, pvAudio1, writelen); ret = snd_pcm_writei(This->pcm, pvAudio1, writelen);
if (ret == -EPIPE) if (ret == -EPIPE)
{ {
WARN("Underrun occured\n"); WARN("Underrun occurred\n");
snd_pcm_prepare(This->pcm); snd_pcm_prepare(This->pcm);
ret = snd_pcm_writei(This->pcm, pvAudio1, writelen); ret = snd_pcm_writei(This->pcm, pvAudio1, writelen);
snd_pcm_start(This->pcm); snd_pcm_start(This->pcm);
......
...@@ -1245,8 +1245,8 @@ static void shader_hw_sample(const struct wined3d_shader_instruction *ins, DWORD ...@@ -1245,8 +1245,8 @@ static void shader_hw_sample(const struct wined3d_shader_instruction *ins, DWORD
if (flags & TEX_DERIV) if (flags & TEX_DERIV)
{ {
if(flags & TEX_PROJ) FIXME("Projected texture sampling with custom derivates\n"); if(flags & TEX_PROJ) FIXME("Projected texture sampling with custom derivatives\n");
if(flags & TEX_BIAS) FIXME("Biased texture sampling with custom derivates\n"); if(flags & TEX_BIAS) FIXME("Biased texture sampling with custom derivatives\n");
shader_addline(buffer, "TXD%s %s, %s, %s, %s, texture[%u], %s;\n", mod, dst_str, coord_reg, shader_addline(buffer, "TXD%s %s, %s, %s, %s, texture[%u], %s;\n", mod, dst_str, coord_reg,
dsx, dsy,sampler_idx, tex_type); dsx, dsy,sampler_idx, tex_type);
} }
......
...@@ -973,7 +973,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont ...@@ -973,7 +973,7 @@ static void shader_generate_glsl_declarations(const struct wined3d_context *cont
/* Declare uniforms for NP2 texcoord fixup: /* Declare uniforms for NP2 texcoord fixup:
* This is NOT done inside the loop that declares the texture samplers since the NP2 fixup code * This is NOT done inside the loop that declares the texture samplers since the NP2 fixup code
* is currently only used for the GeforceFX series and when forcing the ARB_npot extension off. * is currently only used for the GeforceFX series and when forcing the ARB_npot extension off.
* Modern cards just skip the code anyway, so put it inside a seperate loop. */ * Modern cards just skip the code anyway, so put it inside a separate loop. */
if (pshader && ps_args->np2_fixup) { if (pshader && ps_args->np2_fixup) {
struct ps_np2fixup_info* const fixup = ctx_priv->cur_np2fixup_info; struct ps_np2fixup_info* const fixup = ctx_priv->cur_np2fixup_info;
......
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