Assorted spelling fixes.

Francois Gouget fgouget at free.fr
Wed Aug 29 14:43:57 CDT 2007


---
 dlls/d3d9/tests/visual.c     |    2 +-
 dlls/dsound/primary.c        |    4 ++--
 dlls/msvcrt/mbcs.c           |    2 +-
 dlls/setupapi/tests/parser.c |    2 +-
 dlls/wined3d/directx.c       |    2 +-
 dlls/wined3d/surface.c       |    2 +-
 dlls/winspool.drv/info.c     |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c
index ae36467..0a8cc5f 100644
--- a/dlls/d3d9/tests/visual.c
+++ b/dlls/d3d9/tests/visual.c
@@ -1566,7 +1566,7 @@ static void release_buffer_test(IDirect3DDevice9 *device)
     };
     short indices[] = {3, 4, 5};
 
-    /* Index and vertex buffers should always be createable */
+    /* Index and vertex buffers should always be creatable */
     hr = IDirect3DDevice9_CreateVertexBuffer(device, sizeof(quad), 0, D3DFVF_XYZ | D3DFVF_DIFFUSE,
                                               D3DPOOL_MANAGED, &vb, NULL);
     ok(hr == D3D_OK, "CreateVertexBuffer failed with %s\n", DXGetErrorString9(hr));
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index c3b9d91..4c9e125 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -456,9 +456,9 @@ HRESULT DSOUND_PrimarySetFormat(DirectSoundDevice *device, LPCWAVEFORMATEX wfex,
 		}
 		if (err == S_FALSE)
 		{
-			/* ALSA specific: S_FALSE tells that recreation was succesful,
+			/* ALSA specific: S_FALSE tells that recreation was successful,
 			 * but size and location may be changed, and buffer has to be restarted
-			 * I put it here, so if frequency doesn't match error will be changed to DSERR_BUFFERLOST
+			 * I put it here, so if frequency doesn't match the error will be changed to DSERR_BUFFERLOST
 			 * and the entire re-initialization will occur anyway
 			 */
 			IDsDriverBuffer_Lock(device->hwbuf, (LPVOID *)&device->buffer, &device->buflen, NULL, NULL, 0, 0, DSBLOCK_ENTIREBUFFER);
diff --git a/dlls/msvcrt/mbcs.c b/dlls/msvcrt/mbcs.c
index 3643fda..cc619e5 100644
--- a/dlls/msvcrt/mbcs.c
+++ b/dlls/msvcrt/mbcs.c
@@ -1062,7 +1062,7 @@ int CDECL _ismbslead(const unsigned char* start, const unsigned char* str)
   if(!g_mbcp_is_multibyte)
     return 0;
 
-  /* Lead bytes can also be trail bytes so we need to analise the string
+  /* Lead bytes can also be trail bytes so we need to analyse the string
    */
   while (start <= str)
   {
diff --git a/dlls/setupapi/tests/parser.c b/dlls/setupapi/tests/parser.c
index f11abb8..1c3ca49 100644
--- a/dlls/setupapi/tests/parser.c
+++ b/dlls/setupapi/tests/parser.c
@@ -321,7 +321,7 @@ static const struct
  { "a=%big%%big%%big%%big%%big%%big%%big%%big%%big%%big%%big%\n" STR_SECTION,   "a", { A4097 /*MAX_INF_STRING_LENGTH+1*/ } },
 
  /* Prove expansion of system entries removes extra \'s and string
-    replacements doesnt                                            */
+    replacements doesn't                                            */
  { "ab=\"%24%\"\n" STR_SECTION,           "ab", { "C:\\" } },
  { "ab=\"%mydrive%\"\n" STR_SECTION,      "ab", { "C:\\" } },
  { "ab=\"%24%\\fred\"\n" STR_SECTION,     "ab", { "C:\\fred" } },
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index a553a6a..83e916d 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -2498,7 +2498,7 @@ BOOL InitAdapters(void) {
         return FALSE;
     }
 
-/* Dynamicly load all GL core functions */
+/* Dynamically load all GL core functions */
     GL_FUNCS_GEN;
 #undef USE_GL_FUNC
 
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 2abb277..e86a06a 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -1632,7 +1632,7 @@ HRESULT d3dfmt_get_conv(IWineD3DSurfaceImpl *This, BOOL need_alpha_ck, BOOL use_
             break;
 
         case WINED3DFMT_R16F:
-            /* Simmilar to R32F */
+            /* Similar to R32F */
             *convert = CONVERT_R16F;
             *format = GL_RGB;
             *internal = GL_RGB16F_ARB;
diff --git a/dlls/winspool.drv/info.c b/dlls/winspool.drv/info.c
index ce5323b..44c41a1 100644
--- a/dlls/winspool.drv/info.c
+++ b/dlls/winspool.drv/info.c
@@ -6447,7 +6447,7 @@ BOOL WINAPI AddPrinterDriverExW( LPWSTR pName, DWORD level, LPBYTE pDriverInfo,
     ptr = get_servername_from_name(pName);
     HeapFree(GetProcessHeap(), 0, ptr);
     if (ptr) {
-        FIXME("not suported for server: %s\n", debugstr_w(pName));
+        FIXME("not supported for server: %s\n", debugstr_w(pName));
         SetLastError(ERROR_ACCESS_DENIED);
         return FALSE;
     }
-- 
1.5.2.4




More information about the wine-patches mailing list