Commit 588ff374 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Documentation updates (mainly thru vs. through).

parent a02f3de8
......@@ -59,7 +59,7 @@ static BOOL DEBUG_IsStepOverInstr(void)
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 @@ BOOL DEBUG_IsFctReturn(void)
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);
......
......@@ -228,7 +228,7 @@ TTYget(void)
break;
default:
DEBUG_Printf(DBG_CHN_FIXME, "shouldn't happen\n");
/* fall thru */
/* fall through */
case WAIT_ABANDONED:
case WAIT_TIMEOUT:
return EOF;
......
......@@ -3033,7 +3033,7 @@ enum DbgInfoLoad DEBUG_RegisterMSCDebugInfo( DBG_MODULE *module, HANDLE hFile,
/*========================================================================
* 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)
......
......@@ -102,7 +102,7 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
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 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
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 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
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 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
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 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
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)
......
......@@ -1072,7 +1072,7 @@ BOOL OLEMenu_SetIsServerMenu( HMENU hmenu, OleMenuDescriptor *pOleMenuDescriptor
* 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++ )
{
......
......@@ -105,7 +105,7 @@ static LRESULT CALLBACK SYSTRAY_WndProc(HWND hWnd, UINT message, WPARAM wParam,
ptrayItem = ptrayItem->nextTrayItem;
}
}
/* fallthru */
/* fall through */
case WM_LBUTTONDBLCLK:
case WM_RBUTTONDBLCLK:
......
......@@ -775,7 +775,7 @@ static WDML_QUEUE_STATE WDML_ServerHandleExecute(WDML_CONV* pConv, WDML_XACT* pX
break;
default:
WARN("Bad result code\n");
/* fall thru */
/* fall through */
case DDE_FNOTPROCESSED:
break;
}
......@@ -845,7 +845,7 @@ static WDML_QUEUE_STATE WDML_ServerHandlePoke(WDML_CONV* pConv, WDML_XACT* pXAct
break;
default:
FIXME("Unsupported returned value %08lx\n", (DWORD)hDdeDataOut);
/* fal thru */
/* fal through */
case DDE_FNOTPROCESSED:
break;
}
......
......@@ -84,7 +84,7 @@ static int DRIVER_MapMsg32To16(WORD wMsg, DWORD* lParam1, DWORD* lParam2)
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;
......
......@@ -1781,7 +1781,7 @@ static MCI_MapType MCI_MapMsg32ATo16(WORD uDevType, WORD wMsg, DWORD dwFlags, DW
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
*/
......
......@@ -386,7 +386,7 @@ static LRESULT MMIO_UnMap32To16(DWORD wMsg, LPARAM lParam1, LPARAM lParam2,
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))) {
......
......@@ -236,7 +236,7 @@ DWORD WINAPI OSS_auxMessage(UINT wDevID, UINT wMsg, DWORD dwUser,
switch (wMsg) {
case DRVM_INIT:
AUXDRV_Init();
/* fall thru */
/* fall through */
case DRVM_EXIT:
case DRVM_ENABLE:
case DRVM_DISABLE:
......
......@@ -1029,7 +1029,7 @@ wine -debug myprog.exe
<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 @@ set $BreakAllThreadsStartup = 1
<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 @@ abort aborts the debugger
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
......
......@@ -723,7 +723,7 @@ static void MSCDEX_Handler(CONTEXT86* context)
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 @@ static void MSCDEX_Handler(CONTEXT86* context)
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;
......
......@@ -567,7 +567,7 @@ BOOL WINAPI FreeConsole(VOID)
* 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.
*
......
......@@ -155,7 +155,7 @@ BOOL WINAPI EnumDisplayMonitors(
break;
}
/*fall thru */
/* fall through */
case NULLREGION:
return TRUE;
case ERROR:
......
......@@ -160,7 +160,7 @@ Atom X11DRV_CLIPBOARD_MapFormatToProperty(UINT wFormat)
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment