Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
99f541c1
Commit
99f541c1
authored
Apr 09, 2020
by
Ulrich Sibiller
Committed by
Mike Gabriel
May 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Font.c: add hint of deliberate pointer misuse
parent
58b3c8cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Font.c
nx-X11/programs/Xserver/hw/nxagent/Font.c
+4
-0
NXdixfonts.c
nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
+4
-3
No files found.
nx-X11/programs/Xserver/hw/nxagent/Font.c
View file @
99f541c1
...
...
@@ -452,6 +452,10 @@ Bool nxagentFontLookUp(const char *name)
}
}
/*
* NXAGENT uses useless screen pointer to pass the original font name
* to realizeFont, could be a source of problems in the future.
*/
Bool
nxagentRealizeFont
(
ScreenPtr
pScreen
,
FontPtr
pFont
)
{
#ifdef HAS_XFONT2
...
...
nx-X11/programs/Xserver/hw/nxagent/NXdixfonts.c
View file @
99f541c1
...
...
@@ -290,9 +290,10 @@ doOpenFont(ClientPtr client, OFclosurePtr c)
if
(
pScr
->
RealizeFont
)
{
#ifdef NXAGENT_SERVER
/* NXAGENT uses useless screen pointer to pass the original font name
* to realizeFont, could be a source of problems in the future.
*/
/*
* NXAGENT uses useless screen pointer to pass the original font name
* to realizeFont, could be a source of problems in the future.
*/
if
(
!
(
*
pScr
->
RealizeFont
)
((
ScreenPtr
)
nxagentOrigFontName
,
pfont
))
#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