Documentation updates

Francois Gouget fgouget at free.fr
Tue Aug 21 09:26:58 CDT 2001


   The debugger documentation uses 'thru' instead of 'through'. It
seemed wrong to me so I changed it (everywhere to be consistent). In
fact it seems 'thru' is a valid americanism, kind of 'lite' vs. 'light'.
But I prefer the international 'through' anyway.
   This patch also adds a missing space in a comment. All in all nothing
earth-shattering.

Changelog:

 * win32/console.c,
   documentation/debugger.sgml,
   debugger/break.c,
   debugger/editline.c,
   debugger/msc.c,
   dlls/msacm/msacm32_main.c,
   dlls/ole32/ole2.c,
   dlls/shell32/systray.c,
   dlls/user/dde/server.c,
   dlls/winmm/driver.c,
   dlls/winmm/mci.c,
   dlls/winmm/mmio.c,
   dlls/winmm/wineoss/mmaux.c,
   msdos/int2f.c,
   windows/multimon.c,
   windows/x11drv/clipboard.c,

   Documentation updates (mainly thru vs. through)


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                      Computers are like airconditioners
                They stop working properly if you open WINDOWS
-------------- next part --------------
Index: documentation/debugger.sgml
===================================================================
RCS file: /home/wine/wine/documentation/debugger.sgml,v
retrieving revision 1.7
diff -u -r1.7 debugger.sgml
--- documentation/debugger.sgml	2001/08/15 17:40:31	1.7
+++ documentation/debugger.sgml	2001/08/20 23:09:40
@@ -1029,7 +1029,7 @@
         <title>WineDbg configuration</title>
 
         <para>
-          <command>WineDbg</command> can be configured thru a number
+          <command>WineDbg</command> can be configured through a number
           of options. Those options are stored in the registry, on a
           per user basis. The key is (in <emphasis>my</emphasis> registry)
         </para>
@@ -1114,7 +1114,7 @@
                   <command>WineDbg</command>'s <command>cont</command>
                   command) or pass the exception up to the exception
                   handler chain in the program (if it exists)
-                  (<command>WineDbg</command> implements this thru the
+                  (<command>WineDbg</command> implements this through the
                   <command>pass</command> command). If none of the
                   exception handlers takes care of the exception, the
                   exception event is sent again to the debugger (known
@@ -1280,7 +1280,7 @@
 quit		exits the debugger
 
 attach N	attach to a W-process (N is its ID). IDs can be
-		obtained thru walk process command
+		obtained using the walk process command
         </screen>
         <screen>
 help		prints some help on the commands
Index: debugger/break.c
===================================================================
RCS file: /home/wine/wine/debugger/break.c,v
retrieving revision 1.27
diff -u -r1.27 break.c
--- debugger/break.c	2001/05/21 18:33:15	1.27
+++ debugger/break.c	2001/08/20 23:08:51
@@ -59,7 +59,7 @@
     addr.seg = DEBUG_context.SegCs;
     addr.off = DEBUG_context.Eip;
     /* FIXME: old code was using V86BASE(DEBUG_context)
-     * instead of passing thru DOSMEM_MemoryBase
+     * instead of passing through DOSMEM_MemoryBase
      */
     instr = (BYTE*)DEBUG_ToLinear(&addr);
 
@@ -142,7 +142,7 @@
     addr.seg = DEBUG_context.SegCs;
     addr.off = DEBUG_context.Eip;
     /* FIXME: old code was using V86BASE(DEBUG_context)
-     * instead of passing thru DOSMEM_MemoryBase
+     * instead of passing through DOSMEM_MemoryBase
      */
     instr = (BYTE*)DEBUG_ToLinear(&addr);
 
Index: debugger/editline.c
===================================================================
RCS file: /home/wine/wine/debugger/editline.c,v
retrieving revision 1.11
diff -u -r1.11 editline.c
--- debugger/editline.c	2001/04/12 21:07:25	1.11
+++ debugger/editline.c	2001/08/20 23:08:52
@@ -228,7 +228,7 @@
 	  break;
        default:
 	  DEBUG_Printf(DBG_CHN_FIXME, "shouldn't happen\n");
-	  /* fall thru */
+	  /* fall through */
        case WAIT_ABANDONED:
        case WAIT_TIMEOUT:
 	  return EOF;
Index: debugger/msc.c
===================================================================
RCS file: /home/wine/wine/debugger/msc.c,v
retrieving revision 1.42
diff -u -r1.42 msc.c
--- debugger/msc.c	2001/08/03 18:11:00	1.42
+++ debugger/msc.c	2001/08/20 23:08:56
@@ -3033,7 +3033,7 @@
 
 /*========================================================================
  * look for stabs information in PE header (it's how mingw compiler provides its
- * debugging information), and also wine PE <-> ELF linking thru .wsolnk sections
+ * debugging information), and also wine PE <-> ELF linking through .wsolnk sections
  */
 enum DbgInfoLoad DEBUG_RegisterStabsDebugInfo(DBG_MODULE* module, HANDLE hFile, 
 					      void* _nth, unsigned long nth_ofs)
Index: dlls/msacm/msacm32_main.c
===================================================================
RCS file: /home/wine/wine/dlls/msacm/msacm32_main.c,v
retrieving revision 1.8
diff -u -r1.8 msacm32_main.c
--- dlls/msacm/msacm32_main.c	2001/06/11 20:14:44	1.8
+++ dlls/msacm/msacm32_main.c	2001/08/20 23:09:10
@@ -102,7 +102,7 @@
     switch (uMetric) {
     case ACM_METRIC_COUNT_DRIVERS:
 	bLocal = FALSE;
-	/* fall thru */
+	/* fall through */
     case ACM_METRIC_COUNT_LOCAL_DRIVERS:
 	if (hao) return MMSYSERR_INVALHANDLE;
 	for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID)
@@ -113,7 +113,7 @@
 
     case ACM_METRIC_COUNT_CODECS:
 	bLocal = FALSE;
-	/* fall thru */
+	/* fall through */
     case ACM_METRIC_COUNT_LOCAL_CODECS:
 	if (hao) return MMSYSERR_INVALHANDLE;
 	for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID)
@@ -126,7 +126,7 @@
 
     case ACM_METRIC_COUNT_CONVERTERS:
 	bLocal = FALSE;
-	/* fall thru */
+	/* fall through */
     case ACM_METRIC_COUNT_LOCAL_CONVERTERS:
 	if (hao) return MMSYSERR_INVALHANDLE;
 	for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID)
@@ -139,7 +139,7 @@
 
     case ACM_METRIC_COUNT_FILTERS:
 	bLocal = FALSE;
-	/* fall thru */
+	/* fall through */
     case ACM_METRIC_COUNT_LOCAL_FILTERS:
 	if (hao) return MMSYSERR_INVALHANDLE;
 	for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID)
@@ -152,7 +152,7 @@
 
     case ACM_METRIC_COUNT_DISABLED:
 	bLocal = FALSE;
-	/* fall thru */
+	/* fall through */
     case ACM_METRIC_COUNT_LOCAL_DISABLED:
 	if (hao) return MMSYSERR_INVALHANDLE;
 	for (padid = MSACM_pFirstACMDriverID; padid; padid = padid->pNextACMDriverID)
Index: dlls/ole32/ole2.c
===================================================================
RCS file: /home/wine/wine/dlls/ole32/ole2.c,v
retrieving revision 1.27
diff -u -r1.27 ole2.c
--- dlls/ole32/ole2.c	2001/07/29 20:19:51	1.27
+++ dlls/ole32/ole2.c	2001/08/20 23:09:15
@@ -1072,7 +1072,7 @@
    * in the groups File, Edit, Container, Object, Window, Help.
    * The Edit, Object & Help groups belong to the server object
    * and the other three belong to the container.
-   * Loop thru the group widths and locate the group we are a member of.
+   * Loop through the group widths and locate the group we are a member of.
    */
   for ( i = 0, nWidth = 0; i < 6; i++ )
   {
Index: dlls/shell32/systray.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/systray.c,v
retrieving revision 1.13
diff -u -r1.13 systray.c
--- dlls/shell32/systray.c	2001/07/25 00:43:31	1.13
+++ dlls/shell32/systray.c	2001/08/20 23:09:32
@@ -105,7 +105,7 @@
       ptrayItem = ptrayItem->nextTrayItem;
     }
   }
-  /* fallthru */
+  /* fall through */
 
   case WM_LBUTTONDBLCLK:
   case WM_RBUTTONDBLCLK:
Index: dlls/user/dde/server.c
===================================================================
RCS file: /home/wine/wine/dlls/user/dde/server.c,v
retrieving revision 1.3
diff -u -r1.3 server.c
--- dlls/user/dde/server.c	2001/08/09 22:07:22	1.3
+++ dlls/user/dde/server.c	2001/08/20 23:09:33
@@ -775,7 +775,7 @@
 	break;
     default:	
 	WARN("Bad result code\n");
-	/* fall thru */
+	/* fall through */
     case DDE_FNOTPROCESSED:				
 	break;
     }	
@@ -845,7 +845,7 @@
 		break;
 	    default:
 		FIXME("Unsupported returned value %08lx\n", (DWORD)hDdeDataOut);
-		/* fal thru */
+		/* fal through */
 	    case DDE_FNOTPROCESSED:				
 		break;
 	    }
Index: dlls/winmm/driver.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/driver.c,v
retrieving revision 1.9
diff -u -r1.9 driver.c
--- dlls/winmm/driver.c	2001/07/11 18:56:44	1.9
+++ dlls/winmm/driver.c	2001/08/20 23:09:34
@@ -84,7 +84,7 @@
     case DRV_EXITAPPLICATION:	
     case DRV_POWER:
     case DRV_CLOSE:	/* should be 0/0 */
-    case DRV_OPEN:	/* pass thru */
+    case DRV_OPEN:	/* pass through */
 	/* lParam1 and lParam2 are not used */
 	ret = 0;
 	break;
Index: dlls/winmm/mci.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mci.c,v
retrieving revision 1.25
diff -u -r1.25 mci.c
--- dlls/winmm/mci.c	2001/08/15 17:40:03	1.25
+++ dlls/winmm/mci.c	2001/08/20 23:09:36
@@ -1781,7 +1781,7 @@
 	keep = TRUE;
 	switch (uDevType) {
 	/* FIXME:
-	 * don't know if buffer for value is the one passed thru lpstrDevice 
+	 * don't know if buffer for value is the one passed through lpstrDevice 
 	 * or is provided by MCI driver.
 	 * Assuming solution 2: provided by MCI driver, so zeroing on entry
 	 */
Index: dlls/winmm/mmio.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/mmio.c,v
retrieving revision 1.26
diff -u -r1.26 mmio.c
--- dlls/winmm/mmio.c	2001/08/09 21:16:55	1.26
+++ dlls/winmm/mmio.c	2001/08/20 23:09:38
@@ -386,7 +386,7 @@
 	break;
     case MMIOM_READ:
 	memcpy((void*)lParam1, MapSL(lp1), lp2);
-	/* fall thru */
+	/* fall through */
     case MMIOM_WRITE:
     case MMIOM_WRITEFLUSH:
 	if (!SEGPTR_FREE(MapSL(lp1))) {
Index: dlls/winmm/wineoss/mmaux.c
===================================================================
RCS file: /home/wine/wine/dlls/winmm/wineoss/mmaux.c,v
retrieving revision 1.5
diff -u -r1.5 mmaux.c
--- dlls/winmm/wineoss/mmaux.c	2001/07/11 18:56:45	1.5
+++ dlls/winmm/wineoss/mmaux.c	2001/08/20 23:09:38
@@ -236,7 +236,7 @@
     switch (wMsg) {
     case DRVM_INIT:
 	AUXDRV_Init();
-	/* fall thru */
+	/* fall through */
     case DRVM_EXIT:
     case DRVM_ENABLE:
     case DRVM_DISABLE:
Index: msdos/int2f.c
===================================================================
RCS file: /home/wine/wine/msdos/int2f.c,v
retrieving revision 1.36
diff -u -r1.36 int2f.c
--- msdos/int2f.c	2001/06/20 23:03:18	1.36
+++ msdos/int2f.c	2001/08/20 23:09:51
@@ -723,7 +723,7 @@
 			at = LOBYTE(HIWORD(at)) * CDFRAMES_PERMIN +
 			    HIBYTE(LOWORD(at)) * CDFRAMES_PERSEC +
 			    LOBYTE(LOWORD(at));
-			/* fall thru */
+			/* fall through */
 		    case 0: /* HSG addressing mode */
 			CDROM_Audio_Seek(&wcda, at, dev);
 			break;
@@ -756,7 +756,7 @@
 			end = LOBYTE(HIWORD(end)) * CDFRAMES_PERMIN +
 			    HIBYTE(LOWORD(end)) * CDFRAMES_PERSEC +
 			    LOBYTE(LOWORD(end));
-			/* fall thru */
+			/* fall through */
 		    case 0: /* HSG addressing mode */
 			CDROM_Audio_Play(&wcda, beg, end, dev);
 			break;
Index: windows/multimon.c
===================================================================
RCS file: /home/wine/wine/windows/multimon.c,v
retrieving revision 1.19
diff -u -r1.19 multimon.c
--- windows/multimon.c	2001/01/26 20:43:46	1.19
+++ windows/multimon.c	2001/08/20 23:09:55
@@ -155,7 +155,7 @@
 
                 break;
             }
-            /*fall thru */
+            /* fall through */
         case NULLREGION:
              return TRUE;
         case ERROR:
Index: windows/x11drv/clipboard.c
===================================================================
RCS file: /home/wine/wine/windows/x11drv/clipboard.c,v
retrieving revision 1.35
diff -u -r1.35 clipboard.c
--- windows/x11drv/clipboard.c	2001/08/18 18:08:27	1.35
+++ windows/x11drv/clipboard.c	2001/08/20 23:09:58
@@ -160,7 +160,7 @@
               prop = XA_PIXMAP;
               break;
             }
-            /* Fall thru to the default case in order to use the native format */
+            /* Fall through to the default case in order to use the native format */
         }
         
         default:
Index: win32/console.c
===================================================================
RCS file: /home/wine/wine/win32/console.c,v
retrieving revision 1.77
diff -u -r1.77 console.c
--- win32/console.c	2001/07/19 00:39:11	1.77
+++ win32/console.c	2001/08/20 23:09:31
@@ -567,7 +567,7 @@
  * its own xterm).
  * 
  * This makes simple commandline tools pipeable, while complex commandline 
- * tools work without getting messed up by debugoutput.
+ * tools work without getting messed up by debug output.
  * 
  * All other functions should work independently from this call.
  *


More information about the wine-patches mailing list