Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
4b515b6a
Commit
4b515b6a
authored
Mar 09, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Mar 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Replace const pointer parameters with correct non-const pointers.
parent
ee2804fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
xfont.c
dlls/winex11.drv/xfont.c
+6
-6
No files found.
dlls/winex11.drv/xfont.c
View file @
4b515b6a
...
...
@@ -400,14 +400,14 @@ static void FONT_LogFontWTo16( const LOGFONTW* font32, LPLOGFONT16 font16 )
/***********************************************************************
* Checksums
*/
static
UINT16
__lfCheckSum
(
LPLOGFONT16
plf
)
static
UINT16
__lfCheckSum
(
const
LOGFONT16
*
plf
)
{
CHAR
font
[
LF_FACESIZE
];
UINT16
checksum
=
0
;
UINT16
*
ptr
;
const
UINT16
*
ptr
;
int
i
;
ptr
=
(
UINT16
*
)
plf
;
ptr
=
(
const
UINT16
*
)
plf
;
for
(
i
=
0
;
i
<
9
;
i
++
)
checksum
^=
*
ptr
++
;
for
(
i
=
0
;
i
<
LF_FACESIZE
;
i
++
)
{
...
...
@@ -1033,7 +1033,7 @@ static BOOL LFD_ComposeLFD( const fontObject* fo,
* font info - http://www.microsoft.com/kb/articles/q65/1/23.htm
* Windows font metrics - http://www.microsoft.com/kb/articles/q32/6/67.htm
*/
static
void
XFONT_GetLeading
(
const
LPIFONTINFO16
pFI
,
const
XFontStruct
*
x_fs
,
static
void
XFONT_GetLeading
(
const
IFONTINFO16
*
pFI
,
const
XFontStruct
*
x_fs
,
INT16
*
pIL
,
INT16
*
pEL
,
const
XFONTTRANS
*
XFT
)
{
unsigned
long
height
;
...
...
@@ -2727,7 +2727,7 @@ static void XFONT_GrowFreeList(int start, int end)
}
}
static
fontObject
*
XFONT_LookupCachedFont
(
const
L
PLOGFONT16
plf
,
UINT16
*
checksum
)
static
fontObject
*
XFONT_LookupCachedFont
(
const
L
OGFONT16
*
plf
,
UINT16
*
checksum
)
{
UINT16
cs
=
__lfCheckSum
(
plf
);
int
i
=
fontMRU
,
prev
=
-
1
;
...
...
@@ -3017,7 +3017,7 @@ static BOOL XFONT_SetX11Trans( fontObject *pfo )
/***********************************************************************
* X Device Font Objects
*/
static
X_PHYSFONT
XFONT_RealizeFont
(
const
LPLOGFONT16
plf
,
static
X_PHYSFONT
XFONT_RealizeFont
(
LPLOGFONT16
plf
,
LPCSTR
*
faceMatched
,
BOOL
bSubFont
,
WORD
internal_charset
,
WORD
*
pcharsetMatched
)
...
...
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