Assorted spelling fixes

Francois Gouget fgouget at free.fr
Tue Sep 14 05:55:07 CDT 2004


Changelog:

 * dlls/ntdll/file.c
   dlls/shlwapi/reg.c
   dlls/twain/README
   dlls/twain/ds_image.c
   dlls/twain/dsm_ctrl.c
   dlls/twain/twain_i.h
   dlls/winaspi/aspi.h
   dlls/winaspi/winaspi16.c
   dlls/winaspi/winaspi32.c
   dlls/winaspi/winescsi.h
   include/winbase.h

   Assorted spelling fixes.


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
    I haven't lost my mind, it's backed up on tape around here somewhere...
-------------- next part --------------
Index: dlls/ntdll/file.c
===================================================================
RCS file: /var/cvs/wine/dlls/ntdll/file.c,v
retrieving revision 1.67
diff -u -r1.67 file.c
--- dlls/ntdll/file.c	27 Aug 2004 19:11:01 -0000	1.67
+++ dlls/ntdll/file.c	10 Sep 2004 09:15:26 -0000
@@ -84,7 +84,7 @@
  * PARAMS
  *  handle    [O] Variable that receives the file handle on return
  *  access    [I] Access desired by the caller to the file
- *  attr      [I] Structue describing the file to be opened
+ *  attr      [I] Structure describing the file to be opened
  *  io        [O] Receives details about the result of the operation
  *  sharing   [I] Type of shared access the caller requires
  *  options   [I] Options for the file open
Index: dlls/shlwapi/reg.c
===================================================================
RCS file: /var/cvs/wine/dlls/shlwapi/reg.c,v
retrieving revision 1.51
diff -u -r1.51 reg.c
--- dlls/shlwapi/reg.c	13 Sep 2004 18:11:56 -0000	1.51
+++ dlls/shlwapi/reg.c	14 Sep 2004 10:24:29 -0000
@@ -1835,16 +1835,16 @@
 /*************************************************************************
  * @   [SHLWAPI.330]
  *
- * Get the files extension for a given Mime type.
+ * Get the file extension for a given Mime type.
  *
  * PARAMS
  *  lpszType [I] Mime type to get the file extension for
- *  lpExt    [O] Destingtion for the resulting extension
- *  iLen     [I] Length og lpExt in characters
+ *  lpExt    [O] Destination for the resulting extension
+ *  iLen     [I] Length of lpExt in characters
  *
  * RETURNS
  *  Success: TRUE. lpExt contains the file extension.
- *  Failure: FALSE, if any paramater is invalid or the extension cannot be
+ *  Failure: FALSE, if any parameter is invalid or the extension cannot be
  *           retrieved. If iLen > 0, lpExt is set to an empty string.
  *
  * NOTES
Index: dlls/twain/README
===================================================================
RCS file: /var/cvs/wine/dlls/twain/README,v
retrieving revision 1.1
diff -u -r1.1 README
--- dlls/twain/README	21 Mar 2002 02:58:39 -0000	1.1
+++ dlls/twain/README	9 Sep 2004 10:11:19 -0000
@@ -1,7 +1,7 @@
 ----- Old Corel README, probably outdated ----------------------------------
 1. INTRODUCTION
 
-This library (twain32.dll) is an implementation of TWAIN API for providing image acquisition devices (scanner or digital camera) support.  It uses SANE drivers as the backend and translates TWAIN API calls into SANE API calls.  Unlike the twain32 library on Windows platform, it combines the Data Source Manager and Data Sources into a single library.  Thus it is our responsiblity to provide a graphical user interface and capability negotiation, which usually are performed by data sources.
+This library (twain_32.dll) is an implementation of TWAIN API for providing image acquisition devices (scanner or digital camera) support.  It uses SANE drivers as the backend and translates TWAIN API calls into SANE API calls.  Unlike the twain32 library on Windows platform, it combines the Data Source Manager and Data Sources into a single library.  Thus it is our responsiblity to provide a graphical user interface and capability negotiation, which usually are performed by data sources.
 
 
 2. WHAT'S IMPLEMENTED
@@ -12,7 +12,7 @@
 
 - The operation triplets that deal with the UI (such as DG_CONTROL/DAT_USERINTERFACE/MSG_ENABLEDS, MSG_DISABLEDS and MSG_ENABLEDSUIONLY) are partially implemented although it does not really do much.
 
-- The operation triplets that deal with native image transfering (DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET) are also partially implemented.  Still need to figure out how to convert the image data obtained from sane to the Windows DIB format.
+- The operation triplets that deal with native image transfers (DG_IMAGE/DAT_IMAGENATIVEXFER/MSG_GET) are also partially implemented.  Still need to figure out how to convert the image data obtained from sane to the Windows DIB format.
 
 -  Only the CAP_ICAPXFERMECH capability is implemented.
 
Index: dlls/twain/ds_image.c
===================================================================
RCS file: /var/cvs/wine/dlls/twain/ds_image.c,v
retrieving revision 1.4
diff -u -r1.4 ds_image.c
--- dlls/twain/ds_image.c	22 Aug 2003 05:05:56 -0000	1.4
+++ dlls/twain/ds_image.c	10 Sep 2004 10:37:50 -0000
@@ -103,7 +103,7 @@
     {
         if (pSource->currentState == 6)
         {
-            /* return general image description information about the image about to be transfer */
+            /* return general image description information about the image about to be transferred */
             status = sane_get_parameters (pSource->deviceHandle, &pSource->sane_param);
         }
 
@@ -265,7 +265,7 @@
                                 sizeof (buffer),  &buff_len);
             if (status == SANE_STATUS_GOOD)
             {
-                /* FIXME: put code for coverting the image data into DIB here */
+                /* FIXME: put code for converting the image data into DIB here */
 
             }
             else if (status != SANE_STATUS_EOF)
Index: dlls/twain/dsm_ctrl.c
===================================================================
RCS file: /var/cvs/wine/dlls/twain/dsm_ctrl.c,v
retrieving revision 1.7
diff -u -r1.7 dsm_ctrl.c
--- dlls/twain/dsm_ctrl.c	16 Jan 2004 02:01:12 -0000	1.7
+++ dlls/twain/dsm_ctrl.c	9 Sep 2004 10:53:14 -0000
@@ -237,7 +237,7 @@
 
     if (pIdentity->ProductName[0] != '\0')
     {
-        /* Make sure the source to be open exists in the device list */
+        /* Make sure the source to be opened exists in the device list */
         for (i = 0; device_list[i]; i ++)
         {
             if (strcmp (device_list[i]->name, pIdentity->ProductName) == 0)
Index: dlls/twain/twain_i.h
===================================================================
RCS file: /var/cvs/wine/dlls/twain/twain_i.h,v
retrieving revision 1.5
diff -u -r1.5 twain_i.h
--- dlls/twain/twain_i.h	13 Sep 2004 18:06:46 -0000	1.5
+++ dlls/twain/twain_i.h	13 Sep 2004 20:15:27 -0000
@@ -32,7 +32,7 @@
 #include "winbase.h"
 #include "twain.h"
 
-/* internel information about an active data source */
+/* internal information about an active data source */
 typedef struct tagActiveDS
 {
     struct tagActiveDS	*next;			/* next active DS */
@@ -45,7 +45,7 @@
 #ifdef HAVE_SANE
     SANE_Handle		deviceHandle;		/* device handle */
     SANE_Parameters     sane_param;             /* parameters about the image
-                                                   transfered */
+                                                   transferred */
 #endif
     /* Capabiblities */
     TW_UINT16		capXferMech;		/* ICAP_XFERMECH */
Index: dlls/winaspi/aspi.h
===================================================================
RCS file: /var/cvs/wine/dlls/winaspi/aspi.h,v
retrieving revision 1.3
diff -u -r1.3 aspi.h
--- dlls/winaspi/aspi.h	5 Sep 2003 23:08:29 -0000	1.3
+++ dlls/winaspi/aspi.h	9 Sep 2004 10:06:39 -0000
@@ -43,7 +43,7 @@
 /* WNASPI32/WINASPI defs */
 #define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2)
 #define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1)
-#define NO_DATA_TRANSFERED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
+#define NO_DATA_TRANSFERRED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
 
 
 #define INQUIRY_VENDOR          8
Index: dlls/winaspi/winaspi16.c
===================================================================
RCS file: /var/cvs/wine/dlls/winaspi/winaspi16.c,v
retrieving revision 1.36
diff -u -r1.36 winaspi16.c
--- dlls/winaspi/winaspi16.c	20 Feb 2004 20:19:23 -0000	1.36
+++ dlls/winaspi/winaspi16.c	9 Sep 2004 10:06:54 -0000
@@ -154,7 +154,7 @@
   else if (HOST_TO_TARGET(prb)) {
     TRACE("\tData transfer: Host to target. Length checked.\n");
   }
-  else if (NO_DATA_TRANSFERED(prb)) {
+  else if (NO_DATA_TRANSFERRED(prb)) {
     TRACE("\tData transfer: none\n");
   }
   else {
Index: dlls/winaspi/winaspi32.c
===================================================================
RCS file: /var/cvs/wine/dlls/winaspi/winaspi32.c,v
retrieving revision 1.29
diff -u -r1.29 winaspi32.c
--- dlls/winaspi/winaspi32.c	5 Sep 2003 23:08:29 -0000	1.29
+++ dlls/winaspi/winaspi32.c	9 Sep 2004 10:07:01 -0000
@@ -167,7 +167,7 @@
   else if (HOST_TO_TARGET(prb)) {
     TRACE("\tData transfer: Host to target. Length checked.\n");
   }
-  else if (NO_DATA_TRANSFERED(prb)) {
+  else if (NO_DATA_TRANSFERRED(prb)) {
     TRACE("\tData transfer: none\n");
   }
   else {
Index: dlls/winaspi/winescsi.h
===================================================================
RCS file: /var/cvs/wine/dlls/winaspi/winescsi.h,v
retrieving revision 1.8
diff -u -r1.8 winescsi.h
--- dlls/winaspi/winescsi.h	9 Nov 2003 00:31:08 -0000	1.8
+++ dlls/winaspi/winescsi.h	9 Sep 2004 10:07:08 -0000
@@ -93,7 +93,7 @@
 /* WNASPI32/WINASPI defs */
 #define HOST_TO_TARGET(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x2)
 #define TARGET_TO_HOST(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x1)
-#define NO_DATA_TRANSFERED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
+#define NO_DATA_TRANSFERRED(prb) (((prb->SRB_Flags>>3) & 0x3) == 0x3)
 
 
 #define INQUIRY_VENDOR          8
Index: include/winbase.h
===================================================================
RCS file: /var/cvs/wine/include/winbase.h,v
retrieving revision 1.217
diff -u -r1.217 winbase.h
--- include/winbase.h	6 Sep 2004 20:28:01 -0000	1.217
+++ include/winbase.h	9 Sep 2004 10:08:00 -0000
@@ -492,7 +492,7 @@
         HANDLE hEvent;
 } OVERLAPPED, *LPOVERLAPPED;
 
-typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD dwErrorCode, DWORD dwNumberOfBytesTransfered, LPOVERLAPPED lpOverlapped);
+typedef VOID (CALLBACK *LPOVERLAPPED_COMPLETION_ROUTINE)(DWORD,DWORD,LPOVERLAPPED);
 
 /* Process startup information.
  */


More information about the wine-patches mailing list