Spelling fixes

Francois Gouget fgouget at free.fr
Thu Jul 3 21:38:29 CDT 2003


Changelog:

 * dlls/avifil32/api.c
   dlls/comctl32/listview.c
   dlls/dmusic/helper.c
   dlls/dplayx/dplay.c
   dlls/dsound/sound3d.c
   dlls/msvideo/msrle32/msrle32.c
   dlls/ole32/storage32.c
   dlls/oleaut32/safearray.c
   dlls/oleaut32/typelib16.c
   dlls/oleaut32/variant.c
   dlls/shell32/tests/shlfileop.c
   documentation/configuring.sgml
   include/ddraw.h

   Spelling fixes.


Index: dlls/avifil32/api.c
===================================================================
RCS file: /home/wine/wine/dlls/avifil32/api.c,v
retrieving revision 1.18
diff -u -r1.18 api.c
--- dlls/avifil32/api.c	2 Jul 2003 00:38:57 -0000	1.18
+++ dlls/avifil32/api.c	4 Jul 2003 02:16:14 -0000
@@ -1918,7 +1918,7 @@
 	  AVIStreamSetFormat(pOutStreams[curStream], sInfo.dwStart,
 			     lpBuffer, lBufferSize);

-	  /* try to read block and resize buffer if neccessary */
+	  /* try to read block and resize buffer if necessary */
 	  do {
 	    lReadSamples = 0;
 	    lReadBytes   = cbBuffer;
Index: dlls/comctl32/listview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/listview.c,v
retrieving revision 1.355
diff -u -r1.355 listview.c
--- dlls/comctl32/listview.c	6 Jun 2003 18:13:47 -0000	1.355
+++ dlls/comctl32/listview.c	4 Jul 2003 02:16:15 -0000
@@ -9183,7 +9183,7 @@
     if(infoPtr->hFont != 0)
         hOldFont = SelectObject(hdc, infoPtr->hFont);

-    /*Get String Lenght in pixels */
+    /*Get String Length in pixels */
     GetTextExtentPoint32W(hdc, text, lstrlenW(text), &sz);

     /*Add Extra spacing for the next character */
Index: dlls/dmusic/helper.c
===================================================================
RCS file: /home/wine/wine/dlls/dmusic/helper.c,v
retrieving revision 1.4
diff -u -r1.4 helper.c
--- dlls/dmusic/helper.c	30 Jun 2003 20:25:30 -0000	1.4
+++ dlls/dmusic/helper.c	4 Jul 2003 02:16:15 -0000
@@ -959,8 +959,8 @@
 					case DMUS_FOURCC_SEGMENT_CHUNK: {
 						TRACE("segh: segment header\n");
 						ReadFile (fd, &header, chunk.size, &BytesRead, NULL);
-						TRACE_(dmfiledat)("=> dwRepeats = %ld; mtLength = %li; mtPlayStart = %li; mtLoopStart = %li; mtLoopEnd = %li; dwResolution = %ld; rtLenght = FIXME; dwFlags = %ld; dwReserved = %ld\n", \
-							header.dwRepeats, header.mtLength, header.mtPlayStart, header.mtLoopStart, header.mtLoopEnd, header.dwResolution/*, header.rtLenght*/, header.dwFlags, header.dwReserved);
+						TRACE_(dmfiledat)("=> dwRepeats = %ld; mtLength = %li; mtPlayStart = %li; mtLoopStart = %li; mtLoopEnd = %li; dwResolution = %ld; rtLength = FIXME; dwFlags = %ld; dwReserved = %ld\n", \
+							header.dwRepeats, header.mtLength, header.mtPlayStart, header.mtLoopStart, header.mtLoopEnd, header.dwResolution/*, header.rtLength*/, header.dwFlags, header.dwReserved);
 						break;
 					} case DMUS_FOURCC_GUID_CHUNK: {
 						TRACE("'guid': GUID\n");
Index: dlls/dplayx/dplay.c
===================================================================
RCS file: /home/wine/wine/dlls/dplayx/dplay.c,v
retrieving revision 1.41
diff -u -r1.41 dplay.c
--- dlls/dplayx/dplay.c	16 Apr 2003 23:12:07 -0000	1.41
+++ dlls/dplayx/dplay.c	4 Jul 2003 02:16:15 -0000
@@ -5173,7 +5173,7 @@
  *  services.
  *
  *  This API is useful only for applications written using DirectX3 or
- *  worse. It is superceeded by IDirectPlay3::EnumConnections which also
+ *  worse. It is superseded by IDirectPlay3::EnumConnections which also
  *  gives information on the actual connections.
  *
  * defn of a service provider:
Index: dlls/dsound/sound3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/sound3d.c,v
retrieving revision 1.23
diff -u -r1.23 sound3d.c
--- dlls/dsound/sound3d.c	2 Jul 2003 04:37:26 -0000	1.23
+++ dlls/dsound/sound3d.c	4 Jul 2003 02:16:15 -0000
@@ -98,7 +98,7 @@
 	return c;
 }

-/* magnitude (lenght) of vector */
+/* magnitude (length) of vector */
 static inline D3DVALUE VectorMagnitude (LPD3DVECTOR a)
 {
 	D3DVALUE l;
@@ -313,11 +313,11 @@
 	}
 	else
 	{
-		/* calculate lenght of ds3db.vVelocity component which causes Doppler Effect
+		/* calculate length of ds3db.vVelocity component which causes Doppler Effect
 		   NOTE: if buffer moves TOWARDS the listener, it's velocity component is NEGATIVE
 		         if buffer moves AWAY from listener, it's velocity component is POSITIVE */
 		flBufferVel = ProjectVector(&dsb->ds3db_ds3db.vVelocity, &vDistance);
-		/* calculate lenght of ds3dl.vVelocity component which causes Doppler Effect
+		/* calculate length of ds3dl.vVelocity component which causes Doppler Effect
 		   NOTE: if listener moves TOWARDS the buffer, it's velocity component is POSITIVE
 		         if listener moves AWAY from buffer, it's velocity component is NEGATIVE */
 		flListenerVel = ProjectVector(&dsb->dsound->ds3dl.vVelocity, &vDistance);
Index: dlls/msvideo/msrle32/msrle32.c
===================================================================
RCS file: /home/wine/wine/dlls/msvideo/msrle32/msrle32.c,v
retrieving revision 1.7
diff -u -r1.7 msrle32.c
--- dlls/msvideo/msrle32/msrle32.c	2 Jul 2003 00:39:14 -0000	1.7
+++ dlls/msvideo/msrle32/msrle32.c	4 Jul 2003 02:16:16 -0000
@@ -157,7 +157,7 @@
   if (DIBWIDTHBYTES(*lpbi) * (DWORD)lpbi->biHeight >= (1UL << 31) - 1)
     return FALSE; /* image too big ! */

-  /* check for non existing colortable for hi- and true-color DIB's */
+  /* check for non-existent colortable for hi- and true-color DIB's */
   if (lpbi->biBitCount >= 15 && lpbi->biClrUsed > 0)
     return FALSE;

Index: dlls/ole32/storage32.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/storage32.c,v
retrieving revision 1.40
diff -u -r1.40 storage32.c
--- dlls/ole32/storage32.c	18 Jun 2003 19:45:23 -0000	1.40
+++ dlls/ole32/storage32.c	4 Jul 2003 02:16:16 -0000
@@ -1295,7 +1295,7 @@
   if (diff == 0)
   {
     /*
-     * We compare the string themselves only when they are of the same lenght
+     * We compare the string themselves only when they are of the same length
      */
     diff = lstrcmpiW( newProperty, currentProperty);
   }
@@ -6177,7 +6177,7 @@
 	{
 		if(pData->dwTypeID != 0)
 		{
-			/* Get the lenght of the OleTypeName */
+			/* Get the length of the OleTypeName */
 			dwSize = pOleStream->lpstbl->Get(pOleStream, (void *) &(pData->dwOleTypeNameLength), sizeof(pData->dwOleTypeNameLength));
 			if(dwSize != sizeof(pData->dwOleTypeNameLength))
 			{
@@ -6240,7 +6240,7 @@
 			}
 			if(hRes == S_OK)
 			{
-				/* Get the Lenght of the Data */
+				/* Get the Length of the Data */
 				dwSize = pOleStream->lpstbl->Get(pOleStream, (void *)&(pData->dwDataLength), sizeof(pData->dwDataLength));
 				if(dwSize != sizeof(pData->dwDataLength))
 				{
@@ -6328,7 +6328,7 @@

     if(pData->dwOleID == OLESTREAM_ID && pData->dwTypeID != 0 && hRes == S_OK)
     {
-        /* Set the Lenght of the OleTypeName */
+        /* Set the Length of the OleTypeName */
         dwSize = pOleStream->lpstbl->Put(pOleStream, (void *)&(pData->dwOleTypeNameLength), sizeof(pData->dwOleTypeNameLength));
         if(dwSize != sizeof(pData->dwOleTypeNameLength))
         {
@@ -6370,7 +6370,7 @@

         if(hRes == S_OK)
         {
-            /* Set the lenght of the Data */
+            /* Set the length of the Data */
             dwSize = pOleStream->lpstbl->Put(pOleStream, (void *)&(pData->dwDataLength), sizeof(pData->dwDataLength));
             if(dwSize != sizeof(pData->dwDataLength))
             {
@@ -6992,7 +6992,7 @@
         OlePres.dwExtentX = dwExtentX;
         OlePres.dwExtentY = -dwExtentY;

-        /* Set Data and Lenght */
+        /* Set Data and Length */
         if(dwDataLength > sizeof(METAFILEPICT16))
         {
             OlePres.dwSize = dwDataLength - sizeof(METAFILEPICT16);
Index: dlls/oleaut32/safearray.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/safearray.c,v
retrieving revision 1.26
diff -u -r1.26 safearray.c
--- dlls/oleaut32/safearray.c	18 Jun 2003 03:30:40 -0000	1.26
+++ dlls/oleaut32/safearray.c	4 Jul 2003 02:16:16 -0000
@@ -720,7 +720,7 @@

   ulWholeArraySize = getArraySize(psaSource);

-  /* The two arrays boundaries must be of same lenght */
+  /* The two arrays boundaries must be of same length */
   for(cDimCount=0;cDimCount < psaSource->cDims; cDimCount++)
     if( psaSource->rgsabound[cDimCount].cElements !=
       psaTarget->rgsabound[cDimCount].cElements)
Index: dlls/oleaut32/typelib16.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/typelib16.c,v
retrieving revision 1.2
diff -u -r1.2 typelib16.c
--- dlls/oleaut32/typelib16.c	18 Mar 2003 18:35:49 -0000	1.2
+++ dlls/oleaut32/typelib16.c	4 Jul 2003 02:16:16 -0000
@@ -46,7 +46,7 @@
  *
  * This dll is the 16 bit version of the Typelib API, part the original
  * implementation of Ole automation. It and its companion ole2disp.dll were
- * superceeded by oleaut32.dll which provides 32 bit implementations of these
+ * superseded by oleaut32.dll which provides 32 bit implementations of these
  * functions and greatly extends the Ole Api.
  *
  * Winelib developers cannot use these functions directly, they are implemented
Index: dlls/oleaut32/variant.c
===================================================================
RCS file: /home/wine/wine/dlls/oleaut32/variant.c,v
retrieving revision 1.66
diff -u -r1.66 variant.c
--- dlls/oleaut32/variant.c	24 Jun 2003 19:36:58 -0000	1.66
+++ dlls/oleaut32/variant.c	4 Jul 2003 02:16:17 -0000
@@ -418,7 +418,7 @@
         *pDateOut += pTm->tm_mday;

         /* Add the number of seconds, minutes, and hours
-         * to the DATE. Note these are the fracionnal part
+         * to the DATE. Note these are the fractional part
          * of the DATE so seconds / number of seconds in a day.
          */
     } else {
Index: dlls/shell32/tests/shlfileop.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/tests/shlfileop.c,v
retrieving revision 1.7
diff -u -r1.7 shlfileop.c
--- dlls/shell32/tests/shlfileop.c	1 Apr 2003 04:41:12 -0000	1.7
+++ dlls/shell32/tests/shlfileop.c	4 Jul 2003 02:16:17 -0000
@@ -288,7 +288,7 @@
     ok(!file_exists(".\\testdir2\\test2.txt"), "The file is not copied yet");
     retval = SHFileOperationA(&shfo);
     if (!retval)
-      /* Win 95/NT returns success but copies only the files up to the nonexisting source */
+      /* Win 95/NT returns success but copies only the files up to the non-existent source */
       ok(file_exists(".\\testdir2\\test1.txt"), "The file is not copied");
     else
     {
Index: documentation/configuring.sgml
===================================================================
RCS file: /home/wine/wine/documentation/configuring.sgml,v
retrieving revision 1.26
diff -u -r1.26 configuring.sgml
--- documentation/configuring.sgml	6 May 2003 18:36:09 -0000	1.26
+++ documentation/configuring.sgml	4 Jul 2003 02:16:19 -0000
@@ -69,8 +69,8 @@
               directories before attempting to load them. While Wine
               is able to load its own internal DLLs
               (<filename>.so</filename> files) when the program
-              asks for a DLL, Wine does not simulate the existence of
-              nonexisting files.
+              asks for a DLL, Wine does not simulate the presence of
+              non-existent files.
             </para>
           </listitem>
         </itemizedlist>
Index: include/ddraw.h
===================================================================
RCS file: /home/wine/wine/include/ddraw.h,v
retrieving revision 1.48
diff -u -r1.48 ddraw.h
--- include/ddraw.h	11 Apr 2003 00:31:04 -0000	1.48
+++ include/ddraw.h	4 Jul 2003 02:16:20 -0000
@@ -395,7 +395,7 @@
     DWORD	dwAlignSizeDest;        /* dest rectangle byte size */
     DWORD	dwAlignStrideAlign;     /* stride alignment */
     DWORD	dwRops[DD_ROP_SPACE];   /* ROPS supported */
-    DDSCAPS	ddsOldCaps;             /* old DDSCAPS - superceded for DirectX6+ */
+    DDSCAPS	ddsOldCaps;             /* old DDSCAPS - superseded for DirectX6+ */
     DWORD	dwMinOverlayStretch;    /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */
     DWORD	dwMaxOverlayStretch;    /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */
     DWORD	dwMinLiveVideoStretch;  /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */
@@ -456,7 +456,7 @@
     DWORD	dwAlignSizeDest;        /* dest rectangle byte size */
     DWORD	dwAlignStrideAlign;     /* stride alignment */
     DWORD	dwRops[DD_ROP_SPACE];   /* ROPS supported */
-    DDSCAPS	ddsOldCaps;             /* old DDSCAPS - superceded for DirectX6+ */
+    DDSCAPS	ddsOldCaps;             /* old DDSCAPS - superseded for DirectX6+ */
     DWORD	dwMinOverlayStretch;    /* minimum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */
     DWORD	dwMaxOverlayStretch;    /* maximum overlay stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */
     DWORD	dwMinLiveVideoStretch;  /* minimum live video stretch factor multiplied by 1000, eg 1000 == 1.0, 1300 == 1.3 */



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels.




More information about the wine-patches mailing list