From a793888a286ee1853a23ef9ca153f1c90a7d0bb1 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 4 Aug 2008 10:20:20 +0200 Subject: [PATCH] Assorted spelling fixes. --- dlls/kernel32/tests/codepage.c | 2 +- dlls/kernel32/tests/profile.c | 6 +++--- dlls/wined3d/arb_program_shader.c | 4 ++-- dlls/wined3d/glsl_shader.c | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/kernel32/tests/codepage.c b/dlls/kernel32/tests/codepage.c index 7ca4a6fbb9a..7ea89a2178c 100644 --- a/dlls/kernel32/tests/codepage.c +++ b/dlls/kernel32/tests/codepage.c @@ -355,7 +355,7 @@ START_TEST(codepage) test_negative_dest_length(); test_overlapped_buffers(); - /* WideCharToMultiByte has two code pathes, test both here */ + /* WideCharToMultiByte has two code paths, test both here */ test_string_conversion(NULL); test_string_conversion(&bUsedDefaultChar); } diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c index 46dfe72b40b..2ea39555730 100644 --- a/dlls/kernel32/tests/profile.c +++ b/dlls/kernel32/tests/profile.c @@ -417,7 +417,7 @@ static void test_GetPrivateProfileString(void) /* lpAppName is empty, lpDefault has trailing blank characters */ lstrcpyA(buf, "kumquat"); - /* lpDefault must be writeable (trailing blanks are removed inplace in win9x) */ + /* lpDefault must be writable (trailing blanks are removed inplace in win9x) */ lstrcpyA(def_val, "default "); ret = GetPrivateProfileStringA("", "name1", def_val, buf, MAX_PATH, filename); @@ -426,7 +426,7 @@ static void test_GetPrivateProfileString(void) /* lpAppName is empty, many blank characters in lpDefault */ lstrcpyA(buf, "kumquat"); - /* lpDefault must be writeable (trailing blanks are removed inplace in win9x) */ + /* lpDefault must be writable (trailing blanks are removed inplace in win9x) */ lstrcpyA(def_val, "one two "); ret = GetPrivateProfileStringA("", "name1", def_val, buf, MAX_PATH, filename); @@ -478,7 +478,7 @@ static void test_GetPrivateProfileString(void) /* lpKeyName is empty, lpDefault has trailing blank characters */ lstrcpyA(buf, "kumquat"); - /* lpDefault must be writeable (trailing blanks are removed inplace in win9x) */ + /* lpDefault must be writable (trailing blanks are removed inplace in win9x) */ lstrcpyA(def_val, "default "); ret = GetPrivateProfileStringA("section1", "", def_val, buf, MAX_PATH, filename); diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c index 4f0e8977841..0fdb76dd733 100644 --- a/dlls/wined3d/arb_program_shader.c +++ b/dlls/wined3d/arb_program_shader.c @@ -758,7 +758,7 @@ static void gen_color_correction(SHADER_BUFFER *buffer, const char *reg, const c case WINED3DFMT_ATI2N: /* GL_ATI_texture_compression_3dc returns the two channels as luminance-alpha, - * which means the first one is replicated accross .rgb, and the 2nd one is in + * which means the first one is replicated across .rgb, and the 2nd one is in * .a. We need the 2nd in .g * * GL_EXT_texture_compression_rgtc returns the values in .rg, however, they @@ -2222,7 +2222,7 @@ static HRESULT arbfp_alloc(IWineD3DDevice *iface) { IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; struct shader_arb_priv *priv; /* Share private data between the shader backend and the pipeline replacement, if both - * are the arb implementation. This is needed to figure out wether ARBfp should be disabled + * are the arb implementation. This is needed to figure out whether ARBfp should be disabled * if no pixel shader is bound or not */ if(This->shader_backend == &arb_program_shader_backend) { diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 80c4411fbd8..925a07ca57f 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -1346,7 +1346,7 @@ static void shader_glsl_color_correction(SHADER_OPCODE_ARG* arg) { case WINED3DFMT_ATI2N: /* GL_ATI_texture_compression_3dc returns the two channels as luminance-alpha, - * which means the first one is replicated accross .rgb, and the 2nd one is in + * which means the first one is replicated across .rgb, and the 2nd one is in * .a. We need the 2nd in .g * * GL_EXT_texture_compression_rgtc returns the values in .rg, however, they