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

Assorted spelling fixes.

parent 25926873
...@@ -355,7 +355,7 @@ START_TEST(codepage) ...@@ -355,7 +355,7 @@ START_TEST(codepage)
test_negative_dest_length(); test_negative_dest_length();
test_overlapped_buffers(); 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(NULL);
test_string_conversion(&bUsedDefaultChar); test_string_conversion(&bUsedDefaultChar);
} }
...@@ -417,7 +417,7 @@ static void test_GetPrivateProfileString(void) ...@@ -417,7 +417,7 @@ static void test_GetPrivateProfileString(void)
/* lpAppName is empty, lpDefault has trailing blank characters */ /* lpAppName is empty, lpDefault has trailing blank characters */
lstrcpyA(buf, "kumquat"); 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 "); lstrcpyA(def_val, "default ");
ret = GetPrivateProfileStringA("", "name1", def_val, ret = GetPrivateProfileStringA("", "name1", def_val,
buf, MAX_PATH, filename); buf, MAX_PATH, filename);
...@@ -426,7 +426,7 @@ static void test_GetPrivateProfileString(void) ...@@ -426,7 +426,7 @@ static void test_GetPrivateProfileString(void)
/* lpAppName is empty, many blank characters in lpDefault */ /* lpAppName is empty, many blank characters in lpDefault */
lstrcpyA(buf, "kumquat"); 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 "); lstrcpyA(def_val, "one two ");
ret = GetPrivateProfileStringA("", "name1", def_val, ret = GetPrivateProfileStringA("", "name1", def_val,
buf, MAX_PATH, filename); buf, MAX_PATH, filename);
...@@ -478,7 +478,7 @@ static void test_GetPrivateProfileString(void) ...@@ -478,7 +478,7 @@ static void test_GetPrivateProfileString(void)
/* lpKeyName is empty, lpDefault has trailing blank characters */ /* lpKeyName is empty, lpDefault has trailing blank characters */
lstrcpyA(buf, "kumquat"); 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 "); lstrcpyA(def_val, "default ");
ret = GetPrivateProfileStringA("section1", "", def_val, ret = GetPrivateProfileStringA("section1", "", def_val,
buf, MAX_PATH, filename); buf, MAX_PATH, filename);
......
...@@ -758,7 +758,7 @@ static void gen_color_correction(SHADER_BUFFER *buffer, const char *reg, const c ...@@ -758,7 +758,7 @@ static void gen_color_correction(SHADER_BUFFER *buffer, const char *reg, const c
case WINED3DFMT_ATI2N: case WINED3DFMT_ATI2N:
/* GL_ATI_texture_compression_3dc returns the two channels as luminance-alpha, /* 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 * .a. We need the 2nd in .g
* *
* GL_EXT_texture_compression_rgtc returns the values in .rg, however, they * GL_EXT_texture_compression_rgtc returns the values in .rg, however, they
...@@ -2222,7 +2222,7 @@ static HRESULT arbfp_alloc(IWineD3DDevice *iface) { ...@@ -2222,7 +2222,7 @@ static HRESULT arbfp_alloc(IWineD3DDevice *iface) {
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface; IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface;
struct shader_arb_priv *priv; struct shader_arb_priv *priv;
/* Share private data between the shader backend and the pipeline replacement, if both /* 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 no pixel shader is bound or not
*/ */
if(This->shader_backend == &arb_program_shader_backend) { if(This->shader_backend == &arb_program_shader_backend) {
......
...@@ -1346,7 +1346,7 @@ static void shader_glsl_color_correction(SHADER_OPCODE_ARG* arg) { ...@@ -1346,7 +1346,7 @@ static void shader_glsl_color_correction(SHADER_OPCODE_ARG* arg) {
case WINED3DFMT_ATI2N: case WINED3DFMT_ATI2N:
/* GL_ATI_texture_compression_3dc returns the two channels as luminance-alpha, /* 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 * .a. We need the 2nd in .g
* *
* GL_EXT_texture_compression_rgtc returns the values in .rg, however, they * GL_EXT_texture_compression_rgtc returns the values in .rg, however, they
......
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