Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
45b944ed
Commit
45b944ed
authored
Mar 25, 2008
by
Austin English
Committed by
Alexandre Julliard
Mar 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Spelling fixes.
parent
39e2cbc5
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
19 deletions
+19
-19
dc.c
dlls/gdi32/dc.c
+1
-1
bitblt.c
dlls/gdi32/enhmfdrv/bitblt.c
+1
-1
font.c
dlls/gdi32/font.c
+1
-1
freetype.c
dlls/gdi32/freetype.c
+5
-5
metafile.c
dlls/gdi32/metafile.c
+3
-3
bitblt.c
dlls/gdi32/mfdrv/bitblt.c
+1
-1
pen.c
dlls/gdi32/pen.c
+1
-1
printdrv16.c
dlls/gdi32/printdrv16.c
+1
-1
region.c
dlls/gdi32/region.c
+2
-2
pen.c
dlls/gdi32/tests/pen.c
+3
-3
No files found.
dlls/gdi32/dc.c
View file @
45b944ed
...
...
@@ -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
;
...
...
dlls/gdi32/enhmfdrv/bitblt.c
View file @
45b944ed
...
...
@@ -158,7 +158,7 @@ static BOOL EMFDRV_BitBlockTransfer(
device colors are important. */
lpBmiH
->
biClrImportant
=
0
;
/* Initi
lia
ze bitmap bits */
/* Initi
ali
ze bitmap bits */
if
(
GetDIBits
(
physDevSrc
->
hdc
,
hBitmap
,
0
,
(
UINT
)
lpBmiH
->
biHeight
,
(
BYTE
*
)
pEMR
+
pEMR
->
offBitsSrc
,
(
LPBITMAPINFO
)
lpBmiH
,
DIB_RGB_COLORS
))
...
...
dlls/gdi32/font.c
View file @
45b944ed
...
...
@@ -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% compli
e
nt to the Windows BiDi method.
* Reordering is not 100% compli
a
nt to the Windows BiDi method.
* Caret positioning is not yet implemented for BiDi.
* Classes are not yet implemented.
*
...
...
dlls/gdi32/freetype.c
View file @
45b944ed
...
...
@@ -224,7 +224,7 @@ MAKE_FUNCPTR(FcPatternGetString);
#define GET_BE_WORD(x) RtlUshortByteSwap(x)
#endif
/* This is bas
ci
ally a copy of FT_Bitmap_Size with an extra element added */
/* This is bas
ic
ally 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\\Micros
o
ft\\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 sub
s
titution) 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 endi
d
ness from FT ones */
if
(
table
)
{
/* MS tags differ in endi
an
ness from FT ones */
table
=
table
>>
24
|
table
<<
24
|
(
table
>>
8
&
0xff00
)
|
(
table
<<
8
&
0xff0000
);
}
...
...
dlls/gdi32/metafile.c
View file @
45b944ed
...
...
@@ -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 i
n
dentical 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
;
/* should
n
't happen -- but if, we continue with NULL */
}
ExtTextOutA
(
hdc
,
(
SHORT
)
mr
->
rdParm
[
1
],
/* X position */
...
...
dlls/gdi32/mfdrv/bitblt.c
View file @
45b944ed
...
...
@@ -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 proces
s
ing StretchBlt in metafiles,
* decide between rdFunction values META_STRETCHBLT or META_DIBSTRETCHBLT
* via #define STRETCH_VIA_DIB
*/
...
...
dlls/gdi32/pen.c
View file @
45b944ed
...
...
@@ -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 ge
o
metric pens */
if
((
style
&
PS_STYLE_MASK
)
==
PS_INSIDEFRAME
||
width
!=
1
)
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
...
...
dlls/gdi32/printdrv16.c
View file @
45b944ed
...
...
@@ -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
)))
...
...
dlls/gdi32/region.c
View file @
45b944ed
...
...
@@ -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 specif
i
es 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 specif
i
ed operation and stores the result
* in the specified destination region.
*
* PARAMS
...
...
dlls/gdi32/tests/pen.c
View file @
45b944ed
...
...
@@ -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 ge
o
metric 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 differen
c
iates PS_NULL here */
/* for some reason XP differen
t
iates 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 differen
c
iates PS_NULL here */
/* for some reason XP differen
t
iates 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment