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
260deef7
Commit
260deef7
authored
Apr 29, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Apr 30, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Constify some variables.
parent
7bdba1b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
8 deletions
+4
-8
font.c
dlls/gdi32/font.c
+2
-6
wingdi.h
include/wingdi.h
+2
-2
No files found.
dlls/gdi32/font.c
View file @
260deef7
...
...
@@ -2332,9 +2332,7 @@ BOOL WINAPI TextOutW(HDC hdc, INT x, INT y, LPCWSTR str, INT count)
*
* See PolyTextOutW.
*/
BOOL
WINAPI
PolyTextOutA
(
HDC
hdc
,
/* [in] Handle to device context */
PPOLYTEXTA
pptxt
,
/* [in] Array of strings */
INT
cStrings
)
/* [in] Number of strings in array */
BOOL
WINAPI
PolyTextOutA
(
HDC
hdc
,
const
POLYTEXTA
*
pptxt
,
INT
cStrings
)
{
for
(;
cStrings
>
0
;
cStrings
--
,
pptxt
++
)
if
(
!
ExtTextOutA
(
hdc
,
pptxt
->
x
,
pptxt
->
y
,
pptxt
->
uiFlags
,
&
pptxt
->
rcl
,
pptxt
->
lpstr
,
pptxt
->
n
,
pptxt
->
pdx
))
...
...
@@ -2353,9 +2351,7 @@ BOOL WINAPI PolyTextOutA ( HDC hdc, /* [in] Handle to device conte
* TRUE: Success.
* FALSE: Failure.
*/
BOOL
WINAPI
PolyTextOutW
(
HDC
hdc
,
/* [in] Handle to device context */
PPOLYTEXTW
pptxt
,
/* [in] Array of strings */
INT
cStrings
)
/* [in] Number of strings in array */
BOOL
WINAPI
PolyTextOutW
(
HDC
hdc
,
const
POLYTEXTW
*
pptxt
,
INT
cStrings
)
{
for
(;
cStrings
>
0
;
cStrings
--
,
pptxt
++
)
if
(
!
ExtTextOutW
(
hdc
,
pptxt
->
x
,
pptxt
->
y
,
pptxt
->
uiFlags
,
&
pptxt
->
rcl
,
pptxt
->
lpstr
,
pptxt
->
n
,
pptxt
->
pdx
))
...
...
include/wingdi.h
View file @
260deef7
...
...
@@ -3660,8 +3660,8 @@ BOOL WINAPI UpdateICMRegKeyA(DWORD,LPSTR,LPSTR,UINT);
BOOL
WINAPI
UpdateICMRegKeyW
(
DWORD
,
LPWSTR
,
LPWSTR
,
UINT
);
#define UpdateICMRegKey WINELIB_NAME_AW(UpdateICMRegKey)
BOOL
WINAPI
WidenPath
(
HDC
);
BOOL
WINAPI
PolyTextOutA
(
HDC
,
PPOLYTEXTA
,
INT
);
BOOL
WINAPI
PolyTextOutW
(
HDC
,
PPOLYTEXTW
,
INT
);
BOOL
WINAPI
PolyTextOutA
(
HDC
,
const
POLYTEXTA
*
,
INT
);
BOOL
WINAPI
PolyTextOutW
(
HDC
,
const
POLYTEXTW
*
,
INT
);
#define PolyTextOut WINELIB_NAME_AW(PolyTextOut)
/* These defines are used by wglSwapLayerBuffers */
...
...
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