Module: wine
Branch: master
Commit: 464258b7cd2d3782ec15a0f33c8c4adb7a08c3ac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=464258b7cd2d3782ec15a0f33…
Author: Austin English <austinenglish(a)gmail.com>
Date: Wed Jan 2 17:46:32 2008 -0600
Spelling fixes.
---
dlls/avifil32/acmstream.c | 2 +-
dlls/gdi32/bidi.c | 4 ++--
dlls/gdi32/painting.c | 6 +++---
dlls/localspl/localmon.c | 2 +-
dlls/oledlg/pastespl.c | 2 +-
dlls/riched20/rtf.h | 2 +-
dlls/wineoss.drv/audio.h | 2 +-
dlls/wineps.drv/type1afm.c | 2 +-
dlls/wldap32/parse.c | 2 +-
9 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/dlls/avifil32/acmstream.c b/dlls/avifil32/acmstream.c
index 1501f41..47013ef 100644
--- a/dlls/avifil32/acmstream.c
+++ b/dlls/avifil32/acmstream.c
@@ -729,7 +729,7 @@ static HRESULT AVIFILE_OpenCompressor(IAVIStreamImpl *This)
This->sInfo.dwQuality = (DWORD)ICQUALITY_DEFAULT;
SetRectEmpty(&This->sInfo.rcFrame);
- /* convert positions ansd sizes to output format */
+ /* convert positions and sizes to output format */
CONVERT_STREAM_to_THIS(&This->sInfo.dwStart);
CONVERT_STREAM_to_THIS(&This->sInfo.dwLength);
CONVERT_STREAM_to_THIS(&This->sInfo.dwSuggestedBufferSize);
diff --git a/dlls/gdi32/bidi.c b/dlls/gdi32/bidi.c
index 5b787d3..b5fd469 100644
--- a/dlls/gdi32/bidi.c
+++ b/dlls/gdi32/bidi.c
@@ -367,7 +367,7 @@ static int resolveExplicit(int level, int dir, WORD *pcls, WORD *plevel, int cch
enum states /* possible states */
{
xa, /* arabic letter */
- xr, /* right leter */
+ xr, /* right letter */
xl, /* left letter */
ao, /* arabic lett. foll by ON */
@@ -494,7 +494,7 @@ static int GetResolvedType(int action)
States can be of two kinds:
- Immediate Resolution State, where each input token
- is resolved as soon as it is seen. These states havve
+ is resolved as soon as it is seen. These states have
only single action codes (xxN) or the no-op (xxx)
for static input tokens.
- Deferred Resolution State, where input tokens either
diff --git a/dlls/gdi32/painting.c b/dlls/gdi32/painting.c
index 77d05c2..74b04f9 100644
--- a/dlls/gdi32/painting.c
+++ b/dlls/gdi32/painting.c
@@ -1041,7 +1041,7 @@ BOOL WINAPI LineDDA(INT nXStart, INT nYStart, INT nXEnd, INT nYEnd,
* *Very* simple bezier drawing code,
*
* It uses a recursive algorithm to divide the curve in a series
- * of straight line segements. Not ideal but for me sufficient.
+ * of straight line segments. Not ideal but for me sufficient.
* If you are in need for something better look for some incremental
* algorithm.
*
@@ -1085,7 +1085,7 @@ BOOL WINAPI LineDDA(INT nXStart, INT nYStart, INT nXEnd, INT nYEnd,
* Points[0] and Points[3] are begin and endpoint
* Points[1] and Points[2] are control points
* level is the recursion depth
-* returns true if the recusion can be terminated
+* returns true if the recursion can be terminated
*/
static BOOL BezierCheck( int level, POINT *Points)
{
@@ -1200,7 +1200,7 @@ static void GDI_InternalBezier( POINT *Points, POINT **PtsOut, INT *dwOut,
*
* RETURNS
*
- * Ptr to an array of POINTs that contain the lines that approximinate the
+ * Ptr to an array of POINTs that contain the lines that approximate the
* Beziers. The array is allocated on the process heap and it is the caller's
* responsibility to HeapFree it. [this is not a particularly nice interface
* but since we can't know in advance how many points will generate, the
diff --git a/dlls/localspl/localmon.c b/dlls/localspl/localmon.c
index 8f5f7af..b29b844 100644
--- a/dlls/localspl/localmon.c
+++ b/dlls/localspl/localmon.c
@@ -225,7 +225,7 @@ static DWORD get_ports_from_reg(DWORD level, LPBYTE pPorts, DWORD cbBuf, LPDWORD
if ((res == ERROR_SUCCESS) && (portname[0])) {
numentries++;
- /* calsulate the required size */
+ /* calculate the required size */
needed += entrysize;
needed += (len + 1) * sizeof(WCHAR);
if (level > 1) {
diff --git a/dlls/oledlg/pastespl.c b/dlls/oledlg/pastespl.c
index a3d399c..68bad06 100644
--- a/dlls/oledlg/pastespl.c
+++ b/dlls/oledlg/pastespl.c
@@ -434,7 +434,7 @@ static void update_result_text(HWND hdlg, const ps_struct_t *ps_struct)
LoadStringW(OLEDLG_hInstance, res_id, resource_txt, sizeof(resource_txt)/sizeof(WCHAR));
if((ptr = strstrW(resource_txt, percent_s)))
{
- /* FIXME handle %s in ResultText. Sub appname if IDS_PS_PASTE_OBJECT{_AS_ICON}. Else sub appropiate type name */
+ /* FIXME handle %s in ResultText. Sub appname if IDS_PS_PASTE_OBJECT{_AS_ICON}. Else sub appropriate type name */
size_t result_txt_len = strlenW(pent->lpstrResultText);
ptrdiff_t offs = (char*)ptr - (char*)resource_txt;
result_txt = HeapAlloc(GetProcessHeap(), 0, (strlenW(resource_txt) + result_txt_len - 1) * sizeof(WCHAR));
diff --git a/dlls/riched20/rtf.h b/dlls/riched20/rtf.h
index 9befae7..5a12515 100644
--- a/dlls/riched20/rtf.h
+++ b/dlls/riched20/rtf.h
@@ -36,7 +36,7 @@
* that only care about gross token distinctions.
* Major/minor numbers: Within their class, tokens have a major
* number, and may also have a minor number to further
- * distinquish tokens with the same major number.
+ * distinguish tokens with the same major number.
*
* *** Class, major and minor token numbers are all >= 0 ***
*
diff --git a/dlls/wineoss.drv/audio.h b/dlls/wineoss.drv/audio.h
index be63145..a535d7e 100644
--- a/dlls/wineoss.drv/audio.h
+++ b/dlls/wineoss.drv/audio.h
@@ -137,7 +137,7 @@ typedef struct {
DWORD dwThreadID;
OSS_MSG_RING msgRing;
- /* make accomodation for the inacuraccy of OSS when reporting buffer size remaining by using the clock instead of GETOSPACE */
+ /* make accomodation for the inaccuracy of OSS when reporting buffer size remaining by using the clock instead of GETOSPACE */
DWORD dwProjectedFinishTime;
} WINE_WAVEOUT;
diff --git a/dlls/wineps.drv/type1afm.c b/dlls/wineps.drv/type1afm.c
index ad8c16a..dd79eee 100644
--- a/dlls/wineps.drv/type1afm.c
+++ b/dlls/wineps.drv/type1afm.c
@@ -1166,7 +1166,7 @@ static BOOL ReadAFMDir(LPCSTR dirname)
* Reads font metrics from Type 1 AFM font files in directories listed in the
* [afmdirs] section of the Wine configuration file.
*
- * If this function fails (returns FALSE), the dirver will fail to initialize
+ * If this function fails (returns FALSE), the driver will fail to initialize
* and the driver heap will be destroyed, so it's not necessary to HeapFree
* everything in that event.
*
diff --git a/dlls/wldap32/parse.c b/dlls/wldap32/parse.c
index a133302..61c6020 100644
--- a/dlls/wldap32/parse.c
+++ b/dlls/wldap32/parse.c
@@ -409,7 +409,7 @@ INT CDECL ldap_parse_vlv_controlA( WLDAP32_LDAP *ld, PLDAPControlA *control,
* PARAMS
* ld [I] Pointer to an LDAP context.
* control [I] Controls obtained from a result message.
- * targetpos [O] Positition of the target in the result list.
+ * targetpos [O] Position of the target in the result list.
* listcount [O] Estimate of the number of results in the list.
* context [O] Server side context.
* errcode [O] Error code from the listview operation.