From cd8d181a0b41359f0b280f31565bfbdf06deff4d Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 18 May 2001 21:01:38 +0000 Subject: [PATCH] Spelling typos. --- dlls/comctl32/monthcal.c | 2 +- dlls/dplayx/dplaysp.c | 2 +- dlls/oleaut32/variant.c | 2 +- documentation/winelib-porting.sgml | 2 +- windows/defwnd.c | 2 +- windows/x11drv/clipboard.c | 10 +++++----- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c index 0ba750b256e..2a758cc3014 100644 --- a/dlls/comctl32/monthcal.c +++ b/dlls/comctl32/monthcal.c @@ -107,7 +107,7 @@ static const int DayOfWeekTable[] = {0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4}; int MONTHCAL_MonthLength(int month, int year) { const int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0}; - /*Wrap around, this eases handleing*/ + /*Wrap around, this eases handling*/ if(month == 0) month = 12; if(month == 13) diff --git a/dlls/dplayx/dplaysp.c b/dlls/dplayx/dplaysp.c index a6619811069..a798660a945 100644 --- a/dlls/dplayx/dplaysp.c +++ b/dlls/dplayx/dplaysp.c @@ -731,7 +731,7 @@ static HRESULT WINAPI IDirectPlaySPImpl_HandleMessage { ERR( "Unable to perform action for msg type 0x%08lx\n", lpMsg->dwType ); } - /* If a receieve event was registered for this player, invoke it */ + /* If a receive event was registered for this player, invoke it */ if( hReceiveEvent ) { SetEvent( hReceiveEvent ); diff --git a/dlls/oleaut32/variant.c b/dlls/oleaut32/variant.c index efe7d9fd27d..6c499260fe4 100644 --- a/dlls/oleaut32/variant.c +++ b/dlls/oleaut32/variant.c @@ -3245,7 +3245,7 @@ HRESULT WINAPI VarBstrFromCy(CY cyIn, LCID lcid, ULONG dwFlags, BSTR *pbstrOut) * VarBstrFromDate [OLEAUT32.114] * * The date is implemented using an 8 byte floating-point number. - * Days are represented by whole numbers increments starting with 0.00 has + * Days are represented by whole numbers increments starting with 0.00 as * being December 30 1899, midnight. * The hours are expressed as the fractional part of the number. * December 30 1899 at midnight = 0.00 diff --git a/documentation/winelib-porting.sgml b/documentation/winelib-porting.sgml index 116b77a84d2..c2429e39421 100644 --- a/documentation/winelib-porting.sgml +++ b/documentation/winelib-porting.sgml @@ -99,7 +99,7 @@ printf("Processor architecture=%d\n",si ANONS .wProcessorArchitecture); Use the compiler default, but don't call any Win32 unicode - functions without converting the strings first! + function without converting the strings first! diff --git a/windows/defwnd.c b/windows/defwnd.c index d5459abea41..7a2b6479a57 100644 --- a/windows/defwnd.c +++ b/windows/defwnd.c @@ -860,7 +860,7 @@ LRESULT WINAPI DefWindowProcA( HWND hwnd, UINT msg, WPARAM wParam, * Return value is dependent upon the message. */ LRESULT WINAPI DefWindowProcW( - HWND hwnd, /* [in] window procedure recieving message */ + HWND hwnd, /* [in] window procedure receiving message */ UINT msg, /* [in] message identifier */ WPARAM wParam, /* [in] first message parameter */ LPARAM lParam ) /* [in] second message parameter */ diff --git a/windows/x11drv/clipboard.c b/windows/x11drv/clipboard.c index b0b7f131a81..9de7f5f85ef 100644 --- a/windows/x11drv/clipboard.c +++ b/windows/x11drv/clipboard.c @@ -15,9 +15,9 @@ * 1. PRIMARY(XA_PRIMARY) * 2. CLIPBOARD * - * In our implementation, the CLIPBOARD selection takes precedence over PRIMARY. + * In our implementation, the CLIPBOARD selection takes precedence over PRIMARY, * i.e. if a CLIPBOARD selection is available, it is used instead of PRIMARY. - * When Wine taks ownership of the clipboard, it takes ownership of BOTH selections. + * When Wine takes ownership of the clipboard, it takes ownership of BOTH selections. * While giving up selection ownership, if the CLIPBOARD selection is lost, * it will lose both PRIMARY and CLIPBOARD and empty the clipboard. * However if only PRIMARY is lost, it will continue to hold the CLIPBOARD selection @@ -26,7 +26,7 @@ * Every format exposed via a windows clipboard format is also exposed through * a corresponding X selection target. A selection target atom is synthesized * whenever a new Windows clipboard format is registered via RegisterClipboardFormat, - * or when a built in format is used for the first time. + * or when a built-in format is used for the first time. * Windows native format are exposed by prefixing the format name with "" * This allows us to uniquely identify windows native formats exposed by other * running WINE apps. @@ -34,7 +34,7 @@ * In order to allow external applications to query WINE for supported formats, * we respond to the "TARGETS" selection target. (See EVENT_SelectionRequest * for implementation) We use the same mechanism to query external clients for - * availability of a particular format, by cacheing the list of available targets + * availability of a particular format, by caching the list of available targets * by using the clipboard cache's "delayed render" mechanism. If a selection client * does not support the "TARGETS" selection target, we actually attempt to retrieve * the format requested as a fallback mechanism. @@ -912,7 +912,7 @@ BOOL X11DRV_IsClipboardFormatAvailable(UINT wFormat) || (ClipboardSelectionOwner != ownerClipboard) ) { /* - * First try cacheing the CLIPBOARD selection. + * First try caching the CLIPBOARD selection. * If unavailable try PRIMARY. */ if ( X11DRV_CLIPBOARD_CacheDataFormats(xaClipboard) == 0 )