Typos

Francois Gouget fgouget at free.fr
Sun Oct 21 21:00:37 CDT 2001



Changelog:

 * dlls/advapi32/service.c,
   dlls/ntdll/om.c,
   dlls/ole32/compositemoniker.c,
   dlls/ole32/errorinfo.c,
   dlls/ole32/filemoniker.c,
   dlls/ole32/hglobalstream.c,
   dlls/ole32/stg_stream.c,
   dlls/wininet/ftp.c,
   dlls/wininet/internet.c,
   dlls/winmm/mciwave/mciwave.c,
   dlls/winmm/wineoss/midi.c,
   files/file.c

   Spelling, grammar and a bit of comment formatting fixes



--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
              Linux: Because rebooting is for adding new hardware
-------------- next part --------------
Index: dlls/advapi32/service.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/service.c,v
retrieving revision 1.24
diff -u -r1.24 service.c
--- dlls/advapi32/service.c	2001/02/14 23:11:17	1.24
+++ dlls/advapi32/service.c	2001/10/21 18:52:01
@@ -554,7 +554,7 @@
  *
  * Can only start one service at a time.
  *
- * Has no concept of priviledge.
+ * Has no concept of privilege.
  *
  * RETURNS STD
  *
Index: dlls/ntdll/om.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/om.c,v
retrieving revision 1.14
diff -u -r1.14 om.c
--- dlls/ntdll/om.c	2001/07/19 00:39:09	1.14
+++ dlls/ntdll/om.c	2001/10/21 18:52:03
@@ -43,7 +43,7 @@
  *
  * NOTES
  *  only the lowest 4 bit of SecurityObjectInformationClass are used
- *  0x7-0xf returns STATUS_ACCESS_DENIED (even running with system priviledges) 
+ *  0x7-0xf returns STATUS_ACCESS_DENIED (even running with system privileges) 
  *
  * FIXME: we are constructing a fake sid 
  *  (Administrators:Full, System:Full, Everyone:Read)
Index: dlls/ole32/compositemoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/compositemoniker.c,v
retrieving revision 1.12
diff -u -r1.12 compositemoniker.c
--- dlls/ole32/compositemoniker.c	2001/06/19 18:20:49	1.12
+++ dlls/ole32/compositemoniker.c	2001/10/21 18:52:04
@@ -25,8 +25,9 @@
 
     ICOM_VTABLE(IMoniker)*  lpvtbl1;  /* VTable relative to the IMoniker interface.*/
 
-    /* The ROT (RunningObjectTable implementation) uses the IROTData interface to test whether 
-     * two monikers are equal. That's whay IROTData interface is implemented by monikers.
+    /* The ROT (RunningObjectTable implementation) uses the IROTData 
+     * interface to test whether two monikers are equal. That's why IROTData 
+     * interface is implemented by monikers.
      */
     ICOM_VTABLE(IROTData)*  lpvtbl2;  /* VTable relative to the IROTData interface.*/
 
@@ -374,10 +375,12 @@
     
     TRACE("(%p,%p,%d)\n",iface,pStm,fClearDirty);
 
-    /* this function call OleSaveToStream function for each moniker within this object */
-
-    /* when I tested this function in windows system ! I usually found this constant in the begining of */
-    /* the stream  I dont known why (there's no indication in specification) ! */
+    /* This function calls OleSaveToStream function for each moniker within 
+     * this object.
+     * When I tested this function in windows, I usually found this constant 
+     * at the beginning of the stream. I don't known why (there's no 
+     * indication in the specification) !
+     */
     res=IStream_Write(pStm,&constant,sizeof(constant),NULL);
 
     IMoniker_Enum(iface,TRUE,&enumMk);
@@ -409,8 +412,9 @@
     IMoniker *pmk;
     ULARGE_INTEGER ptmpSize;
 
-    /* the sizeMax of this object is calculated by calling  GetSizeMax on each moniker within this object then */
-    /* suming all returned sizemax */
+    /* The sizeMax of this object is calculated by calling  GetSizeMax on 
+     * each moniker within this object then summing all returned values
+     */
 
     TRACE("(%p,%p)\n",iface,pcbSize);
 
@@ -449,7 +453,7 @@
     
     TRACE("(%p,%p,%p)\n",This,pmkFirst,pmkRest);
 
-    /* Initialize the virtual fgunction table. */
+    /* Initialize the virtual function table. */
     This->lpvtbl1      = &VT_CompositeMonikerImpl;
     This->lpvtbl2      = &VT_ROTDataImpl;
     This->ref          = 0;
@@ -463,7 +467,7 @@
 
     IMoniker_IsSystemMoniker(pmkFirst,&mkSys);
 
-    /* put the first moniker contents in the begining of the table */
+    /* put the first moniker contents in the beginning of the table */
     if (mkSys!=MKSYS_GENERICCOMPOSITE){
 
         This->tabMoniker[(This->tabLastIndex)++]=pmkFirst;
@@ -537,8 +541,10 @@
     }
     else{
 
-        /* add a composite moniker to the moniker table (do the same thing for each moniker within the */
-        /* composite moniker as a simple moniker (see above how to add a simple moniker case) ) */
+        /* add a composite moniker to the moniker table (do the same thing 
+         * for each moniker within the composite moniker as a simple moniker 
+         * (see above for how to add a simple moniker case) )
+         */
         IMoniker_Enum(pmkRest,TRUE,&enumMoniker);
 
         while(IEnumMoniker_Next(enumMoniker,1,&This->tabMoniker[This->tabLastIndex],NULL)==S_OK){
Index: dlls/ole32/errorinfo.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/errorinfo.c,v
retrieving revision 1.9
diff -u -r1.9 errorinfo.c
--- dlls/ole32/errorinfo.c	2001/07/25 00:43:31	1.9
+++ dlls/ole32/errorinfo.c	2001/10/21 18:52:04
@@ -43,9 +43,9 @@
 
     /*
      * Allocate a new buffer to hold the string.
-     * dont't forget to keep an empty spot at the begining of the
+     * dont't forget to keep an empty spot at the beginning of the
      * buffer for the character count and an extra character at the
-     * end for the NULL.
+     * end for the '\0'.
      */
     newBuffer = (DWORD*)HeapAlloc(GetProcessHeap(),
                                  0,
Index: dlls/ole32/filemoniker.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/filemoniker.c,v
retrieving revision 1.15
diff -u -r1.15 filemoniker.c
--- dlls/ole32/filemoniker.c	2001/09/11 00:32:32	1.15
+++ dlls/ole32/filemoniker.c	2001/10/21 18:52:05
@@ -321,15 +321,23 @@
                                     IStream* pStm,/* pointer to the stream where the object is to be saved */
                                     BOOL fClearDirty)/* Specifies whether to clear the dirty flag */
 {
-    /* this function saves data of this object. In the begining I thougth that I have just to write
-     * the filePath string on Stream. But, when I tested this function whith windows programs samples !
-     * I noted that it was not the case. So I analysed data written by this function on Windows system and 
-     * what did this function do exactly ! but I have no idear a bout its logic !
-     * I guessed data who must be written on stream wich is:
-     * 1) WORD constant:zero 2) length of the path string ("\0" included) 3) path string type A
-     * 4) DWORD constant : 0xDEADFFFF 5) ten WORD constant: zero  6) DWORD: double-length of the the path
-     * string type W ("\0" not included) 7) WORD constant: 0x3 8) filePath unicode string.
-     *  if the length(filePath) > 8 or.length(filePath) == 8 stop at step 5)
+    /* this function saves data of this object. In the beginning I thougth 
+     * that I have just to write the filePath string on Stream. But, when I 
+     * tested this function whith windows programs samples, I noticed that it 
+     * was not the case. So I analysed data written by this function on 
+     * Windows and what this did function exactly ! But I have no idea about 
+     * its logic !
+     * I guessed data which must be written on stream is:
+     * 1) WORD constant:zero
+     * 2) length of the path string ("\0" included)
+     * 3) path string type A
+     * 4) DWORD constant : 0xDEADFFFF
+     * 5) ten WORD constant: zero
+     * 6) DWORD: double-length of the the path string type W ("\0" not 
+     *    included)
+     * 7) WORD constant: 0x3
+     * 8) filePath unicode string.
+     *    if the length(filePath) > 8 or length(filePath) == 8 stop at step 5)
      */
 
     ICOM_THIS(FileMonikerImpl,iface);        
Index: dlls/ole32/hglobalstream.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/hglobalstream.c,v
retrieving revision 1.8
diff -u -r1.8 hglobalstream.c
--- dlls/ole32/hglobalstream.c	2001/07/20 18:00:01	1.8
+++ dlls/ole32/hglobalstream.c	2001/10/21 18:52:05
@@ -261,7 +261,7 @@
     }
     
     /*
-     * Start the stream at the begining.
+     * Start the stream at the beginning.
      */
     newStream->currentPosition.s.HighPart = 0;
     newStream->currentPosition.s.LowPart = 0;
Index: dlls/ole32/stg_stream.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/stg_stream.c,v
retrieving revision 1.9
diff -u -r1.9 stg_stream.c
--- dlls/ole32/stg_stream.c	2001/09/10 23:14:39	1.9
+++ dlls/ole32/stg_stream.c	2001/10/21 18:52:06
@@ -84,7 +84,7 @@
     newStream->ownerProperty = ownerProperty;
     
     /*
-     * Start the stream at the begining.
+     * Start the stream at the beginning.
      */
     newStream->currentPosition.s.HighPart = 0;
     newStream->currentPosition.s.LowPart = 0;
Index: dlls/wininet/ftp.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/ftp.c,v
retrieving revision 1.20
diff -u -r1.20 ftp.c
--- dlls/wininet/ftp.c	2001/09/11 00:32:33	1.20
+++ dlls/wininet/ftp.c	2001/10/21 18:52:09
@@ -1736,7 +1736,7 @@
 /***********************************************************************
  *           FTP_SendType (internal)
  *
- * Tell server type of data being transfered
+ * Tell server type of data being transferred
  *
  * RETURNS
  *   TRUE on success
Index: dlls/wininet/internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.24
diff -u -r1.24 internet.c
--- dlls/wininet/internet.c	2001/09/11 00:32:33	1.24
+++ dlls/wininet/internet.c	2001/10/21 18:52:09
@@ -1429,7 +1429,7 @@
  * Parse next line in directory string listing
  *
  * RETURNS
- *   Pointer to begining of next line
+ *   Pointer to beginning of next line
  *   NULL on failure
  *
  */
Index: dlls/winmm/mciwave/mciwave.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mciwave/mciwave.c,v
retrieving revision 1.17
diff -u -r1.17 mciwave.c
--- dlls/winmm/mciwave/mciwave.c	2001/07/25 00:43:32	1.17
+++ dlls/winmm/mciwave/mciwave.c	2001/10/21 18:52:11
@@ -744,7 +744,7 @@
     }
     
 	
-    /* go back to begining of chunk plus the requested position */
+    /* go back to beginning of chunk plus the requested position */
     /* FIXME: I'm not sure this is correct, notably because some data linked to 
      * the decompression state machine will not be correcly initialized.
      * try it this way (other way would be to decompress from 0 up to dwPosition
@@ -975,7 +975,7 @@
     wmw->dwPosition = WAVE_ALIGN_ON_BLOCK(wmw, wmw->dwPosition);
     wmw->ckWaveData.cksize = WAVE_ALIGN_ON_BLOCK(wmw, wmw->ckWaveData.cksize);
 
-    /* go back to begining of chunk plus the requested position */
+    /* go back to beginning of chunk plus the requested position */
     /* FIXME: I'm not sure this is correct, notably because some data linked to 
      * the decompression state machine will not be correcly initialized.
      * try it this way (other way would be to decompress from 0 up to dwPosition
Index: dlls/winmm/wineoss/midi.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/midi.c,v
retrieving revision 1.22
diff -u -r1.22 midi.c
--- dlls/winmm/wineoss/midi.c	2001/07/25 00:43:32	1.22
+++ dlls/winmm/wineoss/midi.c	2001/10/21 18:52:12
@@ -1425,7 +1425,7 @@
 	if (lpData[0] != 0xF0) {
 	    /* Send end of System Exclusive */
 	    SEQ_MIDIOUT(wDevID - MODM_NUMFMSYNTHDEVS, 0xF0);
-	    WARN("Adding missing 0xF0 marker at the begining of "
+	    WARN("Adding missing 0xF0 marker at the beginning of "
 		 "system exclusive byte stream\n");
 	}
 	for (count = 0; count < lpMidiHdr->dwBytesRecorded; count++) {
Index: files/file.c
===================================================================
RCS file: /home/wine/wine/files/file.c,v
retrieving revision 1.117
diff -u -r1.117 file.c
--- files/file.c	2001/10/17 17:45:11	1.117
+++ files/file.c	2001/10/21 18:52:17
@@ -1207,8 +1207,8 @@
  *   TRUE on success
  *   FALSE on failure
  *
- *  If successful (and relevant) lpTransfered will hold the number of
- *   bytes transfered during the async operation.
+ *  If successful (and relevant) lpTransferred will hold the number of
+ *   bytes transferred during the async operation.
  *
  * BUGS
  *
@@ -1219,7 +1219,7 @@
 BOOL WINAPI GetOverlappedResult(
     HANDLE hFile,              /* [in] handle of file to check on */
     LPOVERLAPPED lpOverlapped, /* [in/out] pointer to overlapped  */
-    LPDWORD lpTransferred,     /* [in/out] number of bytes transfered  */
+    LPDWORD lpTransferred,     /* [in/out] number of bytes transferred  */
     BOOL bWait                 /* [in] wait for the transfer to complete ? */
 ) {
     DWORD r;


More information about the wine-patches mailing list