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
67b03f5d
Commit
67b03f5d
authored
May 22, 2019
by
Ulrich Sibiller
Committed by
Mike Gabriel
Nov 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NXglyph.c: adapt FindGlyph() to better match render/glyph.c
no function change
parent
73f88998
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
NXglyph.c
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
+9
-4
No files found.
nx-X11/programs/Xserver/hw/nxagent/NXglyph.c
View file @
67b03f5d
...
...
@@ -161,18 +161,22 @@ AddGlyph (GlyphSetPtr glyphSet, GlyphPtr glyph, Glyph id)
CheckDuplicates
(
&
globalGlyphs
[
glyphSet
->
fdepth
],
"AddGlyph bottom"
);
}
GlyphPtr
FindGlyph
(
GlyphSetPtr
glyphSet
,
Glyph
id
)
GlyphPtr
FindGlyph
(
GlyphSetPtr
glyphSet
,
Glyph
id
)
{
GlyphRefPtr
gr
;
GlyphPtr
glyph
;
gr
=
FindGlyphRef
(
&
glyphSet
->
hash
,
id
,
FALSE
,
0
);
#ifdef NXAGENT_SERVER
GlyphRefPtr
gr
=
FindGlyphRef
(
&
glyphSet
->
hash
,
id
,
FALSE
,
0
);
glyph
=
gr
->
glyph
;
#else
glyph
=
FindGlyphRef
(
&
glyphSet
->
hash
,
id
,
FALSE
,
0
)
->
glyph
;
#endif
if
(
glyph
==
DeletedGlyph
)
{
glyph
=
0
;
}
#ifdef NXAGENT_SERVER
else
if
(
gr
->
corruptedGlyph
==
1
)
{
#ifdef DEBUG
...
...
@@ -183,6 +187,7 @@ GlyphPtr FindGlyph (GlyphSetPtr glyphSet, Glyph id)
nxagentAddGlyphs
(
glyphSet
,
&
id
,
&
(
glyph
->
info
),
1
,
(
CARD8
*
)(
glyph
+
1
),
glyph
->
size
-
sizeof
(
xGlyphInfo
));
}
#endif
return
glyph
;
}
...
...
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