Assorted spelling fixes

Francois Gouget fgouget at free.fr
Sun Aug 6 05:28:32 CDT 2006


Changelog:

 * dlls/ddraw/direct3d.c
   dlls/ddraw/tests/refcount.c
   dlls/mciavi32/mciavi.c
   dlls/mciseq/mcimidi.c
   dlls/mciwave/mciwave.c
   dlls/msi/msi.c
   dlls/ole32/compobj.c
   dlls/shell32/trash.c
   dlls/wined3d/device.c
   dlls/wined3d/surface.c
   dlls/wined3d/vertexbuffer.c
   include/mlang.idl

   Francois Gouget <fgouget at free.fr>
   Assorted spelling fixes


-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
                Linux: It is now safe to turn on your computer.
-------------- next part --------------
Index: dlls/ddraw/direct3d.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/direct3d.c,v
retrieving revision 1.7
diff -u -p -r1.7 direct3d.c
--- dlls/ddraw/direct3d.c	31 Jul 2006 09:32:59 -0000	1.7
+++ dlls/ddraw/direct3d.c	6 Aug 2006 04:46:18 -0000
@@ -311,7 +311,7 @@ IDirect3DImpl_3_EnumDevices(IDirect3D3 *
      * 0 means disabled, 2 means enabled. The enablerefrast.reg and disablerefrast.reg
      * files in the DirectX 7.0 sdk demo directory suggest this.
      *
-     * Some games(GTA 2) seem to use the secound enumerated device, so I have to enumerate
+     * Some games(GTA 2) seem to use the second enumerated device, so I have to enumerate
      * at least 2 devices. So enumerate the reference device to have 2 devices.
      */
 
Index: dlls/ddraw/tests/refcount.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/tests/refcount.c,v
retrieving revision 1.4
diff -u -p -r1.4 refcount.c
--- dlls/ddraw/tests/refcount.c	11 Jul 2006 16:04:08 -0000	1.4
+++ dlls/ddraw/tests/refcount.c	6 Aug 2006 04:46:18 -0000
@@ -128,7 +128,7 @@ static void test_ddraw_objects(void)
     ok(ref == 1, "Got refcount %ld, expected 1\n", ref);
 
     IDirectDrawSurface7_Release(surface);
-    /* Incresed before - decrease now */
+    /* Increased before - decrease now */
     ref = getRefcount( (IUnknown *) DDraw7);
     ok(ref == 2, "Got refcount %ld, expected 2\n", ref);
 
@@ -138,7 +138,7 @@ static void test_ddraw_objects(void)
 
     IDirectDrawPalette_Release(palette);
 
-    /* Incresed before - decrease now */
+    /* Increased before - decrease now */
     ref = getRefcount( (IUnknown *) DDraw7);
     ok(ref == 1, "Got refcount %ld, expected 1\n", ref);
 
Index: dlls/mciavi32/mciavi.c
===================================================================
RCS file: /home/wine/wine/dlls/mciavi32/mciavi.c,v
retrieving revision 1.4
diff -u -p -r1.4 mciavi.c
--- dlls/mciavi32/mciavi.c	23 May 2006 12:48:09 -0000	1.4
+++ dlls/mciavi32/mciavi.c	6 Aug 2006 04:46:19 -0000
@@ -45,7 +45,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(mciavi);
 static DWORD MCIAVI_mciStop(UINT, DWORD, LPMCI_GENERIC_PARMS);
 
 /*======================================================================*
- *                  	    MCI AVI implemantation			*
+ *                  	    MCI AVI implementation			*
  *======================================================================*/
 
 HINSTANCE MCIAVI_hInstance = 0;
Index: dlls/mciseq/mcimidi.c
===================================================================
RCS file: /home/wine/wine/dlls/mciseq/mcimidi.c,v
retrieving revision 1.7
diff -u -p -r1.7 mcimidi.c
--- dlls/mciseq/mcimidi.c	14 Jun 2006 11:55:06 -0000	1.7
+++ dlls/mciseq/mcimidi.c	6 Aug 2006 04:46:19 -0000
@@ -146,7 +146,7 @@ static	DWORD MCI_SendCommandAsync(UINT w
     }
 
     if ((handle = CreateThread(NULL, 0, MCI_SCAStarter, sca, 0, NULL)) == 0) {
-	WARN("Couldn't allocate thread for async command handling, sending synchonously\n");
+	WARN("Couldn't allocate thread for async command handling, sending synchronously\n");
 	return MCI_SCAStarter(&sca);
     }
     SetThreadPriority(handle, THREAD_PRIORITY_TIME_CRITICAL);
@@ -155,7 +155,7 @@ static	DWORD MCI_SendCommandAsync(UINT w
 }
 
 /*======================================================================*
- *                  	    MCI MIDI implemantation			*
+ *                  	    MCI MIDI implementation			*
  *======================================================================*/
 
 static DWORD MIDI_mciResume(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms);
@@ -489,10 +489,10 @@ static DWORD MIDI_mciReadMThd(WINE_MCIMI
      */
     if (wmm->nDivision > 0x8000) {
 	/* eric.pouech at lemel.fr 98/11
-	 * In did not check this very code (pulses are expressed as SMPTE sub-frames).
+	 * I did not check this very code (pulses are expressed as SMPTE sub-frames).
 	 * In about 40 MB of MIDI files I have, none was SMPTE based...
 	 * I'm just wondering if this is widely used :-). So, if someone has one of
-	 * these files, I'd like to know about.
+	 * these files, I'd like to know about it.
 	 */
 	FIXME("Handling SMPTE time in MIDI files has not been tested\n"
 	      "Please report to comp.emulators.ms-windows.wine with MIDI file !\n");
Index: dlls/mciwave/mciwave.c
===================================================================
RCS file: /home/wine/wine/dlls/mciwave/mciwave.c,v
retrieving revision 1.3
diff -u -p -r1.3 mciwave.c
--- dlls/mciwave/mciwave.c	15 Jun 2006 12:14:20 -0000	1.3
+++ dlls/mciwave/mciwave.c	6 Aug 2006 04:46:20 -0000
@@ -117,7 +117,7 @@ static	DWORD MCI_SendCommandAsync(UINT w
     }
 
     if ((handle = CreateThread(NULL, 0, MCI_SCAStarter, sca, 0, NULL)) == 0) {
-	WARN("Couldn't allocate thread for async command handling, sending synchonously\n");
+	WARN("Couldn't allocate thread for async command handling, sending synchronously\n");
 	return MCI_SCAStarter(&sca);
     }
     SetThreadPriority(handle, THREAD_PRIORITY_TIME_CRITICAL);
@@ -126,7 +126,7 @@ static	DWORD MCI_SendCommandAsync(UINT w
 }
 
 /*======================================================================*
- *                  	    MCI WAVE implemantation			*
+ *                  	    MCI WAVE implementation			*
  *======================================================================*/
 
 static DWORD WAVE_mciResume(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms);
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.153
diff -u -p -r1.153 msi.c
--- dlls/msi/msi.c	28 Jul 2006 12:16:35 -0000	1.153
+++ dlls/msi/msi.c	6 Aug 2006 04:46:20 -0000
@@ -1091,7 +1091,7 @@ end:
  *   INSTALLSTATE_LOCAL        Feature is installed and useable
  *   INSTALLSTATE_ABSENT       Feature is absent
  *   INSTALLSTATE_ADVERTISED   Feature should be installed on demand
- *   INSTALLSTATE_UNKNOWN      An error occured
+ *   INSTALLSTATE_UNKNOWN      An error occurred
  *   INSTALLSTATE_INVALIDARG   One of the GUIDs was invalid
  *
  */
Index: dlls/ole32/compobj.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compobj.c,v
retrieving revision 1.200
diff -u -p -r1.200 compobj.c
--- dlls/ole32/compobj.c	3 Aug 2006 20:59:20 -0000	1.200
+++ dlls/ole32/compobj.c	6 Aug 2006 04:46:21 -0000
@@ -474,7 +474,7 @@ void apartment_joinmta(void)
 }
 
 /*****************************************************************************
- * This section contains OpenDllList implemantation
+ * This section contains OpenDllList implementation
  */
 
 static void COMPOBJ_DLLList_Add(HANDLE hLibrary)
Index: dlls/shell32/trash.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/trash.c,v
retrieving revision 1.2
diff -u -p -r1.2 trash.c
--- dlls/shell32/trash.c	1 Aug 2006 17:47:12 -0000	1.2
+++ dlls/shell32/trash.c	6 Aug 2006 04:46:25 -0000
@@ -154,7 +154,7 @@ BOOL TRASH_CanTrashFile(LPCWSTR wszPath)
 }
 
 /*
- * Try to create a single .trashinfo file. Return TRUE if successfull, else FALSE
+ * Try to create a single .trashinfo file. Return TRUE if successful, else FALSE
  */
 static BOOL try_create_trashinfo_file(const char *info_dir, const char *file_name,
     const char *original_file_name)
Index: dlls/wined3d/device.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/device.c,v
retrieving revision 1.268
diff -u -p -r1.268 device.c
--- dlls/wined3d/device.c	31 Jul 2006 15:39:46 -0000	1.268
+++ dlls/wined3d/device.c	6 Aug 2006 04:46:27 -0000
@@ -732,7 +732,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
      * Therefore do not create a VBO for WINED3DUSAGE_DYNAMIC buffers.
      *
      * Direct3D7 has another problem: Its vertexbuffer api doesn't offer a way to specify
-     * the range of vertices beeing locked, so each lock will require the whole buffer to be transformed.
+     * the range of vertices being locked, so each lock will require the whole buffer to be transformed.
      * Moreover geometry data in dx7 is quite simple, so drawStridedSlow isn't a big hit. A plus
      * is that the vertex buffers fvf can be trusted in dx7. So only create non-converted vbos for
      * dx7 apps.
@@ -744,7 +744,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl
         (dxVersion > 7 || !conv) ) {
         CreateVBO(object);
 
-        /* DX7 buffers can be locked directly into the VBO(no conversion, see above */
+        /* DX7 buffers can be locked directly into the VBO (no conversion, see above */
         if(dxVersion == 7 && object->vbo) {
             HeapFree(GetProcessHeap(), 0, object->resource.allocatedMemory);
             object->resource.allocatedMemory = NULL;
@@ -7518,7 +7518,7 @@ static HRESULT  WINAPI  IWineD3DDeviceIm
         This->cursorTexture = pSur->glDescription.textureName;
         This->cursorWidth = pSur->currentDesc.Width;
         This->cursorHeight = pSur->currentDesc.Height;
-        pSur->glDescription.textureName = 0; /* Prevent the texture from beeing changed or deleted */
+        pSur->glDescription.textureName = 0; /* Prevent the texture from being changed or deleted */
     }
 
     This->xHotSpot = XHotSpot;
Index: dlls/wined3d/surface.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/surface.c,v
retrieving revision 1.109
diff -u -p -r1.109 surface.c
--- dlls/wined3d/surface.c	4 Aug 2006 11:30:47 -0000	1.109
+++ dlls/wined3d/surface.c	6 Aug 2006 04:46:27 -0000
@@ -312,9 +312,9 @@ static void read_from_framebuffer(IWineD
         case WINED3DFMT_P8:
         {
             /* GL can't return palettized data, so read ARGB pixels into a
-             * seperate block of memory and convert them into palettized format
+             * separate block of memory and convert them into palettized format
              * in software. Slow, but if the app means to use palettized render
-             * targets and lock it...
+             * targets and locks it...
              *
              * Use GL_RGB, GL_UNSIGNED_BYTE to read the surface for performance reasons
              * Don't use GL_BGR as in the WINED3DFMT_R8G8B8 case, instead watch out
@@ -898,7 +898,7 @@ static void flush_to_framebuffer_drawpix
         case WINED3DFMT_X8R8G8B8:
         {
             /* make sure the X byte is set to alpha on, since it 
-               could be any random value this fixes the intro move in Pirates! */
+               could be any random value. This fixes the intro movie in Pirates! */
             int size;
             unsigned int *data;
             data = (unsigned int *)This->resource.allocatedMemory;
@@ -909,7 +909,7 @@ static void flush_to_framebuffer_drawpix
                 size--;
             }
         }
-        /* Fall trough */
+        /* Fall through */
 
         case WINED3DFMT_A8R8G8B8:
         {
Index: dlls/wined3d/vertexbuffer.c
===================================================================
RCS file: /home/wine/wine/dlls/wined3d/vertexbuffer.c,v
retrieving revision 1.29
diff -u -p -r1.29 vertexbuffer.c
--- dlls/wined3d/vertexbuffer.c	25 Jul 2006 10:10:22 -0000	1.29
+++ dlls/wined3d/vertexbuffer.c	6 Aug 2006 04:46:27 -0000
@@ -146,7 +146,7 @@ static void fixup_vertices(BYTE *src, BY
             DWORD srcColor, *dstColor = (DWORD *) (dst + i * stride + (int) specular);
             srcColor = * (DWORD *) ( ((int) src + (int) specular) + i * stride);
 
-            /* Simmilar to diffuse
+            /* Similar to diffuse
              * TODO: Write the alpha value out for fog coords
              */
             *dstColor = 0;
Index: include/mlang.idl
===================================================================
RCS file: /home/wine/wine/include/mlang.idl,v
retrieving revision 1.11
diff -u -p -r1.11 mlang.idl
--- include/mlang.idl	20 Jul 2006 11:22:21 -0000	1.11
+++ include/mlang.idl	6 Aug 2006 04:46:31 -0000
@@ -20,7 +20,7 @@ import "unknwn.idl";
 
 interface IStream;
 
-/* FIXME: LANDID is defined in winnt.h and mlang.h in the platform SDK */
+/* FIXME: LANGID is defined in winnt.h and mlang.h in the platform SDK */
 cpp_quote("#ifndef _WINNT_")
 typedef WORD LANGID;
 cpp_quote("#endif")


More information about the wine-patches mailing list