Spelling fixes

Francois Gouget fgouget at free.fr
Tue Jul 1 17:21:15 CDT 2003


Changelog:

 * controls/combo.c,
   dlls/cabinet/fdi.c,
   dlls/dsound/sound3d.c,
   dlls/kernel/format_msg.c,
   dlls/ntdll/time.c,
   dlls/ole32/datacache.c,
   dlls/ole32/moniker.c,
   dlls/ole32/ole2.c,
   dlls/quartz/filtermapper.c,
   dlls/shlwapi/path.c,
   dlls/twain/twain.h,
   dlls/user/lstr.c,
   dlls/wininet/internet.c,
   dlls/winmm/wineoss/midi.c,
   documentation/multimedia.sgml,
   graphics/x11drv/opengl.c,
   objects/palette.c,
   programs/regsvr32/regsvr32.c

   Fix some common spelling errors.

Index: controls/combo.c
===================================================================
RCS file: /home/wine/wine/controls/combo.c,v
retrieving revision 1.97
diff -u -r1.97 combo.c
--- controls/combo.c	12 May 2003 03:24:10 -0000	1.97
+++ controls/combo.c	1 Jul 2003 22:09:33 -0000
@@ -62,7 +62,7 @@
 static UINT	CBitHeight, CBitWidth;

 /*
- * Look and feel dependant "constants"
+ * Look and feel dependent "constants"
  */

 #define COMBO_YBORDERGAP         5
Index: dlls/cabinet/fdi.c
===================================================================
RCS file: /home/wine/wine/dlls/cabinet/fdi.c,v
retrieving revision 1.8
diff -u -r1.8 fdi.c
--- dlls/cabinet/fdi.c	23 Jun 2003 18:10:47 -0000	1.8
+++ dlls/cabinet/fdi.c	1 Jul 2003 22:09:34 -0000
@@ -2004,7 +2004,7 @@

       TRACE("Extracting file %s as requested by callee.\n", debugstr_a(file->filename));

-      /* set up decomp_state (unneccesary?); at least
+      /* set up decomp_state (unnecessary?); at least
          ignore trailing three pointers in the struct */
       ZeroMemory(decomp_state, sizeof(fdi_decomp_state) - sizeof(void*) * 3);
       CAB(hfdi) = hfdi;
Index: dlls/dsound/sound3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/sound3d.c,v
retrieving revision 1.22
diff -u -r1.22 sound3d.c
--- dlls/dsound/sound3d.c	27 Jun 2003 22:22:16 -0000	1.22
+++ dlls/dsound/sound3d.c	1 Jul 2003 22:09:35 -0000
@@ -413,12 +413,12 @@
 	TRACE("(%p,%p)\n",This,lpDs3dBuffer);

 	if (lpDs3dBuffer == NULL) {
-		WARN("invalid paramater: lpDs3dBuffer == NULL\n");
+		WARN("invalid parameter: lpDs3dBuffer == NULL\n");
 		return DSERR_INVALIDPARAM;
 	}

 	if (lpDs3dBuffer->dwSize < sizeof(*lpDs3dBuffer)) {
-		WARN("invalid paramater: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer));
+		WARN("invalid parameter: lpDs3dBuffer->dwSize = %ld < %d\n",lpDs3dBuffer->dwSize, sizeof(*lpDs3dBuffer));
 		return DSERR_INVALIDPARAM;
 	}

@@ -881,12 +881,12 @@
 	TRACE("(%p,%p)\n",This,lpDS3DL);

 	if (lpDS3DL == NULL) {
-		WARN("invalid paramater: lpDS3DL == NULL\n");
+		WARN("invalid parameter: lpDS3DL == NULL\n");
 		return DSERR_INVALIDPARAM;
 	}

 	if (lpDS3DL->dwSize < sizeof(*lpDS3DL)) {
-		WARN("invalid paramater: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL));
+		WARN("invalid parameter: lpDS3DL->dwSize = %ld < %d\n",lpDS3DL->dwSize, sizeof(*lpDS3DL));
 		return DSERR_INVALIDPARAM;
 	}

Index: dlls/kernel/format_msg.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/format_msg.c,v
retrieving revision 1.26
diff -u -r1.26 format_msg.c
--- dlls/kernel/format_msg.c	7 May 2003 03:19:17 -0000	1.26
+++ dlls/kernel/format_msg.c	1 Jul 2003 22:09:36 -0000
@@ -134,7 +134,7 @@
 {
     LPDWORD args=(LPDWORD)_args;
 #if defined(__i386__) || defined(__sparc__)
-/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
+/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
     LPSTR	target,t;
     DWORD	talloced;
     LPSTR	from,f;
@@ -361,7 +361,7 @@
 {
     LPDWORD args=(LPDWORD)_args;
 #if defined(__i386__) || defined(__sparc__)
-/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
+/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
     LPSTR target,t;
     DWORD talloced;
     LPSTR from,f;
Index: dlls/ntdll/time.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/time.c,v
retrieving revision 1.31
diff -u -r1.31 time.c
--- dlls/ntdll/time.c	18 Jun 2003 03:30:40 -0000	1.31
+++ dlls/ntdll/time.c	1 Jul 2003 22:09:37 -0000
@@ -402,7 +402,7 @@
  *   Time [O] Converted time.
  *
  * RETURNS
- *   TRUE: Successfull
+ *   TRUE: Successful.
  *   FALSE: Failure.
  */
 BOOLEAN WINAPI RtlTimeFieldsToTime(
@@ -508,7 +508,7 @@
  *   res [O] Pointer to a LONG to receive the seconds since 1970.
  *
  * RETURNS
- *   TRUE: Successfull.
+ *   TRUE: Successful.
  *   FALSE: Failure.
  */
 BOOLEAN WINAPI RtlTimeToSecondsSince1970( const LARGE_INTEGER *time, PULONG res )
@@ -531,7 +531,7 @@
  *   res [O] Pointer to a integer to receive the time since 1980.
  *
  * RETURNS
- *   TRUE: Successfull
+ *   TRUE: Successful.
  *   FALSE: Failure.
  */
 BOOLEAN WINAPI RtlTimeToSecondsSince1980( const LARGE_INTEGER *time, LPDWORD res )
Index: dlls/ole32/datacache.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/datacache.c,v
retrieving revision 1.17
diff -u -r1.17 datacache.c
--- dlls/ole32/datacache.c	7 Jan 2003 20:36:28 -0000	1.17
+++ dlls/ole32/datacache.c	1 Jul 2003 22:09:37 -0000
@@ -1832,7 +1832,7 @@
     FIXME("Unimplemented flag lindex = %ld\n", lindex);

   /*
-   * Right now, we suport only the callback from
+   * Right now, we support only the callback from
    * the default handler.
    */
   if (ptd!=NULL)
Index: dlls/ole32/moniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/moniker.c,v
retrieving revision 1.22
diff -u -r1.22 moniker.c
--- dlls/ole32/moniker.c	10 Apr 2003 18:17:35 -0000	1.22
+++ dlls/ole32/moniker.c	1 Jul 2003 22:09:37 -0000
@@ -211,7 +211,7 @@
     runningObjectTableInstance->lpVtbl = &VT_RunningObjectTableImpl;

     /* the initial reference is set to "1" ! because if set to "0" it will be not practis when */
-    /* the ROT refered many times  not in the same time (all the objects in the ROT will  */
+    /* the ROT referred many times not in the same time (all the objects in the ROT will  */
     /* be removed every time the ROT is removed ) */
     runningObjectTableInstance->ref = 1;

Index: dlls/ole32/ole2.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole2.c,v
retrieving revision 1.43
diff -u -r1.43 ole2.c
--- dlls/ole32/ole2.c	27 Jun 2003 04:03:40 -0000	1.43
+++ dlls/ole32/ole2.c	1 Jul 2003 22:09:38 -0000
@@ -917,7 +917,7 @@
  * OLEMenu_InstallHooks
  * Install thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
  *
- * RETURNS: TRUE if message hooks were succesfully installed
+ * RETURNS: TRUE if message hooks were successfully installed
  *          FALSE on failure
  */
 BOOL OLEMenu_InstallHooks( DWORD tid )
@@ -966,7 +966,7 @@
  * OLEMenu_UnInstallHooks
  * UnInstall thread scope message hooks for WH_GETMESSAGE and WH_CALLWNDPROC
  *
- * RETURNS: TRUE if message hooks were succesfully installed
+ * RETURNS: TRUE if message hooks were successfully installed
  *          FALSE on failure
  */
 BOOL OLEMenu_UnInstallHooks( DWORD tid )
Index: dlls/quartz/filtermapper.c
===================================================================
RCS file: /home/wine/wine/dlls/quartz/filtermapper.c,v
retrieving revision 1.1
diff -u -r1.1 filtermapper.c
--- dlls/quartz/filtermapper.c	1 Jul 2003 04:29:48 -0000	1.1
+++ dlls/quartz/filtermapper.c	1 Jul 2003 22:09:38 -0000
@@ -656,7 +659,7 @@
         pclsidCategory = &CLSID_ActiveMovieCategories;

     /* sizeof... will include null terminator and
-     * the + 1 is for the seperator ('\\'). The -1 is
+     * the + 1 is for the separator ('\\'). The -1 is
      * because CHARS_IN_GUID includes the null terminator
      */
     nameLen = sizeof(wszDevice)/sizeof(wszDevice[0]) + CHARS_IN_GUID - 1 + 1;
Index: dlls/shlwapi/path.c
===================================================================
RCS file: /home/wine/wine/dlls/shlwapi/path.c,v
retrieving revision 1.33
diff -u -r1.33 path.c
--- dlls/shlwapi/path.c	18 Jun 2003 03:30:40 -0000	1.33
+++ dlls/shlwapi/path.c	1 Jul 2003 22:09:38 -0000
@@ -2555,8 +2555,8 @@
  *
  * NOTES
  *  A common prefix of 2 is always returned as 3. It is thus possible for
- *  the length returned to be invalid (i.e. Longer than one or both of the
- *  strings given as parameters). This Win32 behaviour has been implimented
+ *  the length returned to be invalid (i.e. longer than one or both of the
+ *  strings given as parameters). This Win32 behaviour has been implemented
  *  here, and cannot be changed (fixed?) without breaking other SHLWAPI calls.
  *  To work around this when using this function, always check that the byte
  *  at [common_prefix_len-1] is not a NUL. If it is, deduct 1 from the prefix.
Index: dlls/twain/twain.h
===================================================================
RCS file: /home/wine/wine/dlls/twain/twain.h,v
retrieving revision 1.5
diff -u -r1.5 twain.h
--- dlls/twain/twain.h	10 Dec 2002 22:56:45 -0000	1.5
+++ dlls/twain/twain.h	1 Jul 2003 22:09:39 -0000
@@ -484,7 +484,7 @@
    char       Reserved[512]; /**/
 } TW_FILESYSTEM, FAR * pTW_FILESYSTEM;

-/* DAT_PASSTHRU, device dependant data to pass through Data Source */
+/* DAT_PASSTHRU, device dependent data to pass through Data Source */
 typedef struct {
    TW_MEMREF  pCommand;        /* Pointer to Command buffer */
    TW_UINT32  CommandBytes;    /* Number of bytes in Command buffer */
@@ -1684,8 +1684,8 @@
 #define TWCC_BUMMER             1 /* Failure due to unknown causes             */
 #define TWCC_LOWMEMORY          2 /* Not enough memory to perform operation    */
 #define TWCC_NODS               3 /* No Data Source                            */
-#define TWCC_MAXCONNECTIONS     4 /* DS is connected to max possible applications      */
-#define TWCC_OPERATIONERROR     5 /* DS or DSM reported error, application shouldn't   */
+#define TWCC_MAXCONNECTIONS     4 /* DS is connected to max possible applications */
+#define TWCC_OPERATIONERROR     5 /* DS or DSM reported error, application shouldn't */
 #define TWCC_BADCAP             6 /* Unknown capability                        */
 #define TWCC_BADPROTOCOL        9 /* Unrecognized MSG DG DAT combination       */
 #define TWCC_BADVALUE           10 /* Data parameter out of range              */
@@ -1693,7 +1693,7 @@
 #define TWCC_BADDEST            12 /* Unknown destination Application/Source in DSM_Entry */
 #define TWCC_CAPUNSUPPORTED     13 /* Capability not supported by source            */
 #define TWCC_CAPBADOPERATION    14 /* Operation not supported by capability         */
-#define TWCC_CAPSEQERROR        15 /* Capability has dependancy on other capability */
+#define TWCC_CAPSEQERROR        15 /* Capability has dependency on other capability */
 /* Added 1.8 */
 #define TWCC_DENIED             16 /* File System operation is denied (file is protected) */
 #define TWCC_FILEEXISTS         17 /* Operation failed because file already exists. */
Index: dlls/user/lstr.c
===================================================================
RCS file: /home/wine/wine/dlls/user/lstr.c,v
retrieving revision 1.25
diff -u -r1.25 lstr.c
--- dlls/user/lstr.c	12 Dec 2002 23:34:02 -0000	1.25
+++ dlls/user/lstr.c	1 Jul 2003 22:09:39 -0000
@@ -596,7 +596,7 @@
     LPDWORD args         /* [in] NOTE: va_list *args */
 ) {
 #ifdef __i386__
-/* This implementation is completely dependant on the format of the va_list on x86 CPUs */
+/* This implementation is completely dependent on the format of the va_list on x86 CPUs */
     LPSTR	target,t;
     DWORD	talloced;
     LPSTR	from,f;
Index: dlls/wininet/internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.59
diff -u -r1.59 internet.c
--- dlls/wininet/internet.c	20 Jun 2003 23:26:56 -0000	1.59
+++ dlls/wininet/internet.c	1 Jul 2003 22:09:39 -0000
@@ -2317,7 +2317,7 @@
         break;

     default:
-        FIXME("unsuported file type\n");
+        FIXME("unsupported file type\n");
         break;
     }

Index: dlls/winmm/wineoss/midi.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/midi.c,v
retrieving revision 1.33
diff -u -r1.33 midi.c
--- dlls/winmm/wineoss/midi.c	18 Jun 2003 03:30:40 -0000	1.33
+++ dlls/winmm/wineoss/midi.c	1 Jul 2003 22:09:40 -0000
@@ -1554,7 +1554,7 @@
     if (!MidiOutDev[wDevID].bEnabled) return MIDIERR_NODEVICE;

     /* stop all notes */
-    /* FIXME: check if 0x78B0 is channel dependant or not. I coded it so that
+    /* FIXME: check if 0x78B0 is channel dependent or not. I coded it so that
      * it's channel dependent...
      */
     for (chn = 0; chn < 16; chn++) {
Index: documentation/multimedia.sgml
===================================================================
RCS file: /home/wine/wine/documentation/multimedia.sgml,v
retrieving revision 1.6
diff -u -r1.6 multimedia.sgml
--- documentation/multimedia.sgml	19 Apr 2003 02:50:57 -0000	1.6
+++ documentation/multimedia.sgml	1 Jul 2003 22:09:41 -0000
@@ -1131,7 +1131,7 @@
 	    </listitem>
 	    <listitem>
 	      <para>
-		all hardware (or most of it) dependant code reside in the kernel
+		all hardware (or most of it) dependent code reside in the kernel
 		space (which is not surprising)
 	      </para>
 	    </listitem>
Index: graphics/x11drv/opengl.c
===================================================================
RCS file: /home/wine/wine/graphics/x11drv/opengl.c,v
retrieving revision 1.15
diff -u -r1.15 opengl.c
--- graphics/x11drv/opengl.c	27 Nov 2002 20:21:24 -0000	1.15
+++ graphics/x11drv/opengl.c	1 Jul 2003 22:09:43 -0000
@@ -194,7 +194,7 @@

      NULL_TEST_AND_ADD2(ppfd->cAlphaBits, GLX_ALPHA_SIZE, 8);
      ADD2(GLX_ACCUM_SIZE, ppfd->cAccumBits); */
-  ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now suported */
+  ADD2(GLX_STENCIL_SIZE, ppfd->cStencilBits); /* now supported */
   /*   ADD2(GLX_AUX_BUFFERS, ppfd->cAuxBuffers); */
   att_list[att_pos] = None;

Index: objects/palette.c
===================================================================
RCS file: /home/wine/wine/objects/palette.c,v
retrieving revision 1.55
diff -u -r1.55 palette.c
--- objects/palette.c	1 Feb 2003 00:36:38 -0000	1.55
+++ objects/palette.c	1 Jul 2003 22:09:43 -0000
@@ -846,7 +846,7 @@
  * for that DC.
  *
  * RETURNS
- *    TRUE if name copied succesfully OR lpszFilename is NULL
+ *    TRUE if name copied successfully OR lpszFilename is NULL
  *    FALSE if the buffer length pointed to by lpcbName is too small
  *
  * NOTE
Index: programs/regsvr32/regsvr32.c
===================================================================
RCS file: /home/wine/wine/programs/regsvr32/regsvr32.c,v
retrieving revision 1.5
diff -u -r1.5 regsvr32.c
--- programs/regsvr32/regsvr32.c	28 Aug 2002 23:43:43 -0000	1.5
+++ programs/regsvr32/regsvr32.c	1 Jul 2003 22:09:43 -0000
@@ -118,7 +118,7 @@
         return -1;
     }
     if(!Silent)
-        printf("Succesfully registered dll %s\n", strDll);
+        printf("Successfully registered dll %s\n", strDll);

     if(DllHandle)
         FreeLibrary(DllHandle);
@@ -141,7 +141,7 @@
         return -1;
     }
     if(!Silent)
-        printf("Succesfully unregistered dll %s\n", strDll);
+        printf("Successfully unregistered dll %s\n", strDll);

     if(DllHandle)
         FreeLibrary(DllHandle);
@@ -164,7 +164,7 @@
         return -1;
     }
     if(!Silent)
-        printf("Succesfully %s dll %s\n",  install ? "installed" : "uninstalled",
+        printf("Successfully %s dll %s\n",  install ? "installed" : "uninstalled",
                strDll);

     if(DllHandle)



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                Linux: It is now safe to turn on your computer.




More information about the wine-patches mailing list