Commit 45b944ed authored by Austin English's avatar Austin English Committed by Alexandre Julliard

gdi32: Spelling fixes.

parent 39e2cbc5
......@@ -1500,7 +1500,7 @@ WORD WINAPI SetHookFlags( HDC hdc, WORD flags )
*/
INT WINAPI SetICMMode(HDC hdc, INT iEnableICM)
{
/*FIXME Asuming that ICM is always off, and cannot be turned on */
/*FIXME: Assume that ICM is always off, and cannot be turned on */
if (iEnableICM == ICM_OFF) return ICM_OFF;
if (iEnableICM == ICM_ON) return 0;
if (iEnableICM == ICM_QUERY) return ICM_OFF;
......
......@@ -158,7 +158,7 @@ static BOOL EMFDRV_BitBlockTransfer(
device colors are important. */
lpBmiH->biClrImportant = 0;
/* Initiliaze bitmap bits */
/* Initialize bitmap bits */
if (GetDIBits(physDevSrc->hdc, hBitmap, 0, (UINT)lpBmiH->biHeight,
(BYTE*)pEMR + pEMR->offBitsSrc,
(LPBITMAPINFO)lpBmiH, DIB_RGB_COLORS))
......
......@@ -2751,7 +2751,7 @@ GetCharacterPlacementA(HDC hdc, LPCSTR lpString, INT uCount,
* BUGS
*
* All flags except GCP_REORDER are not yet implemented.
* Reordering is not 100% complient to the Windows BiDi method.
* Reordering is not 100% compliant to the Windows BiDi method.
* Caret positioning is not yet implemented for BiDi.
* Classes are not yet implemented.
*
......
......@@ -224,7 +224,7 @@ MAKE_FUNCPTR(FcPatternGetString);
#define GET_BE_WORD(x) RtlUshortByteSwap(x)
#endif
/* This is bascially a copy of FT_Bitmap_Size with an extra element added */
/* This is basically a copy of FT_Bitmap_Size with an extra element added */
typedef struct {
FT_Short height;
FT_Short width;
......@@ -483,7 +483,7 @@ static BOOL get_glyph_index_linked(GdiFont *font, UINT c, GdiFont **linked_font,
* FONTS.FON System
* OEMFONT.FON Terminal
* LogPixels Current dpi set by the display control panel applet
* (HKLM\\Software\\Microsft\\Windows NT\\CurrentVersion\\FontDPI
* (HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\FontDPI
* also has a LogPixels value that appears to mirror this)
*
* On my system these values have data: vgafix.fon, vgasys.fon, vga850.fon and 96 respectively
......@@ -2216,7 +2216,7 @@ static void update_font_info(void)
(WCHAR *)&oem_cp, sizeof(oem_cp)/sizeof(WCHAR));
sprintf( cpbuf, "%u,%u", ansi_cp, oem_cp );
/* Setup DefaultFallback usage */
/* Setup Default_Fallback usage */
if (ansi_cp == 932)
use_default_fallback = TRUE;
......@@ -3188,7 +3188,7 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
/*
* Check for a leading '@' this signals that the font is being
* requested in tategaki mode (vertical writing subtitution) but
* requested in tategaki mode (vertical writing substitution) but
* does not affect the fontface that is to be selected.
*/
if (lf.lfFaceName[0]=='@')
......@@ -5264,7 +5264,7 @@ DWORD WineEngGetFontData(GdiFont *font, DWORD table, DWORD offset, LPVOID buf,
else
len = cbData;
if(table) { /* MS tags differ in endidness from FT ones */
if(table) { /* MS tags differ in endianness from FT ones */
table = table >> 24 | table << 24 |
(table >> 8 & 0xff00) | (table << 8 & 0xff0000);
}
......
......@@ -31,7 +31,7 @@
*
* Memory-based metafiles are just stored as a continuous block of memory with
* a METAHEADER at the head with METARECORDs appended to it. mtType is
* METAFILE_MEMORY (1). Note this is indentical to the disk image of a
* METAFILE_MEMORY (1). Note this is identical to the disk image of a
* disk-based metafile - even mtType is METAFILE_MEMORY.
* 16bit HMETAFILE16s are global handles to this block
* 32bit HMETAFILEs are GDI handles METAFILEOBJs, which contains a ptr to
......@@ -1270,7 +1270,7 @@ static BOOL MF_Play_MetaExtTextOut(HDC hdc, METARECORD *mr)
}
if (mr->rdSize == len / 2)
dxx = NULL; /* determine if array present */
dxx = NULL; /* determine if array is present */
else
if (mr->rdSize == (len + s1 * sizeof(INT16)) / 2)
{
......@@ -1282,7 +1282,7 @@ static BOOL MF_Play_MetaExtTextOut(HDC hdc, METARECORD *mr)
TRACE("%s len: %d\n", sot, mr->rdSize);
WARN("Please report: ExtTextOut len=%d slen=%d rdSize=%d opt=%04x\n",
len, s1, mr->rdSize, mr->rdParm[3]);
dxx = NULL; /* should't happen -- but if, we continue with NULL */
dxx = NULL; /* shouldn't happen -- but if, we continue with NULL */
}
ExtTextOutA( hdc,
(SHORT)mr->rdParm[1], /* X position */
......
......@@ -49,7 +49,7 @@ BOOL MFDRV_BitBlt( PHYSDEV devDst, INT xDst, INT yDst, INT width, INT height,
/***********************************************************************
* MFDRV_StretchBlt
* this function contains TWO ways for procesing StretchBlt in metafiles,
* this function contains TWO ways for processing StretchBlt in metafiles,
* decide between rdFunction values META_STRETCHBLT or META_DIBSTRETCHBLT
* via #define STRETCH_VIA_DIB
*/
......
......@@ -182,7 +182,7 @@ HPEN WINAPI ExtCreatePen( DWORD style, DWORD width,
}
else
{
/* PS_INSIDEFRAME is applicable only for gemetric pens */
/* PS_INSIDEFRAME is applicable only for geometric pens */
if ((style & PS_STYLE_MASK) == PS_INSIDEFRAME || width != 1)
{
SetLastError(ERROR_INVALID_PARAMETER);
......
......@@ -375,7 +375,7 @@ static int CreateSpoolFile(LPCSTR pszOutput)
/**
* The file name can be dos based, we have to find its
* Unix correspondant file name
* corresponding Unix file name.
*/
MultiByteToWideChar(CP_ACP, 0, psCmdP, -1, psCmdPW, MAX_PATH);
if ((buffer = wine_get_unix_file_name(psCmdPW)))
......
......@@ -993,7 +993,7 @@ DWORD WINAPI GetRegionData(HRGN hrgn, DWORD count, LPRGNDATA rgndata)
* PARAMS
* lpXform [I] World-space to logical-space transformation data.
* dwCount [I] Size of the data pointed to by rgndata, in bytes.
* rgndata [I] Data that specifes the region.
* rgndata [I] Data that specifies the region.
*
* RETURNS
* Success: Handle to region.
......@@ -1239,7 +1239,7 @@ BOOL REGION_FrameRgn( HRGN hDest, HRGN hSrc, INT x, INT y )
/***********************************************************************
* CombineRgn (GDI32.@)
*
* Combines two regions with the specifed operation and stores the result
* Combines two regions with the specified operation and stores the result
* in the specified destination region.
*
* PARAMS
......
......@@ -195,7 +195,7 @@ static void test_logpen(void)
}
if (pen[i].style == PS_INSIDEFRAME)
{
/* This style is applicable only for gemetric pens */
/* This style is applicable only for geometric pens */
ok(hpen == 0, "ExtCreatePen should fail\n");
goto test_geometric_pens;
}
......@@ -347,7 +347,7 @@ test_geometric_pens:
memset(&lp, 0xb0, sizeof(lp));
SetLastError(0xdeadbeef);
size = GetObject(hpen, sizeof(lp), &lp);
/* for some reason XP differenciates PS_NULL here */
/* for some reason XP differentiates PS_NULL here */
if (pen[i].style == PS_NULL)
{
ok(size == sizeof(LOGPEN), "GetObject returned %d, error %d\n", size, GetLastError());
......@@ -404,7 +404,7 @@ test_geometric_pens:
break;
}
/* for some reason XP differenciates PS_NULL here */
/* for some reason XP differentiates PS_NULL here */
if (pen[i].style == PS_NULL)
ok(ext_pen.elp.elpPenStyle == pen[i].ret_style, "expected %x, got %x\n", pen[i].ret_style, ext_pen.elp.elpPenStyle);
else
......
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